ServerMessage

public struct ServerMessage : Swift.Error, Codable, Equatable

Structure that represents a message produced by the server when an error occurs.

  • Undocumented

    See more

    Declaration

    Swift

    public struct ErrorMeta : Codable, Equatable
  • Undocumented

    See more

    Declaration

    Swift

    public struct ServerError : Codable, Equatable
  • Undocumented

    Declaration

    Swift

    public let message: String
  • Undocumented

    Declaration

    Swift

    public var reason: String?
  • Undocumented

    Declaration

    Swift

    public var error: String?
  • Undocumented

    Declaration

    Swift

    public var statusCode: Int?
  • Undocumented

    Declaration

    Swift

    public var errors: [ServerError]?