ProcessingErrorType

public struct ProcessingErrorType : OptionSet

Represents the type of processing error.

  • Declaration

    Swift

    public let rawValue: Int
  • Creates a new instance with the specified rawValue. Supported types are all captured with static constants and you should not need this

    Declaration

    Swift

    public init(rawValue: Int)

    Parameters

    rawValue

    The raw value *

  • Creates a new instance classifying the supplied error

    Declaration

    Swift

    public init(from error: Error)

    Parameters

    error

    The error to classify *

  • A non OysterKit error

    Declaration

    Swift

    public static let foreign: ProcessingErrorType
  • An internal ProcessingError

    Declaration

    Swift

    public static let `internal`: ProcessingErrorType
  • An undefined ProcessingError

    Declaration

    Swift

    public static let undefined: ProcessingErrorType
  • A scanning ProcessingError

    Declaration

    Swift

    public static let scanning: ProcessingErrorType
  • A parsing ProcessingError

    Declaration

    Swift

    public static let parsing: ProcessingErrorType
  • An interpretation ProcessingError

    Declaration

    Swift

    public static let interpretation: ProcessingErrorType
  • A fatal ProcessingError

    Declaration

    Swift

    public static let fatal: ProcessingErrorType
  • A low level scanner (not scanning) error

    Declaration

    Swift

    public static let scannedMatchFailed: ProcessingErrorType