ErrorType

struct ErrorType : Error

Struct that represents the error with a code and message.

  • The error code.

    Declaration

    Swift

    let code: String
  • The error message.

    Declaration

    Swift

    let message: String