GenericParseError

public struct GenericParseError: ParseError, Equatable

A generic error that occured while parsing

  • the message of the error

    Declaration

    Swift

    public let message: String
  • Compare two instances of GenericParseError

    Declaration

    Swift

    public static func == (lhs: GenericParseError, rhs: GenericParseError) -> Bool

    Parameters

    lhs

    the first error to compare with

    rhs

    the second error to compare with

    Return Value

    true if both messages are equal, false otherwise