code: func (l *lexer) err(e error) Error {
  	// do we have an error?
  	if e == nil {
  		return nil
  	} else {
  		return NewError(e, l.Position())
  	}
  }
docs: // err returns an Error encapsulating the error e and the current Lexer
  // position.