Code

enum Code

Typed error cases from HTTP Responses

    • status: 404

    Declaration

    Swift

    case notFound
    • status: 403

    Declaration

    Swift

    case forbidden
    • status: 401

    Declaration

    Swift

    case unauthorized
    • status: 400

    Declaration

    Swift

    case badRequest
  • other internal error

    Declaration

    Swift

    case other(Error)