TopsortError

public struct TopsortError : Codable, JSONEncodable, Hashable

A description of the error sent by the Topsort API

  • Undocumented

    See more

    Declaration

    Swift

    public enum ErrCode : String, Codable, CaseIterable
  • Undocumented

    See more

    Declaration

    Swift

    public enum DocUrl : String, Codable, CaseIterable
  • Undocumented

    Declaration

    Swift

    public var errCode: ErrCode
  • Undocumented

    Declaration

    Swift

    public var docUrl: DocUrl?
  • Undocumented

    Declaration

    Swift

    public var message: String?
  • Undocumented

    Declaration

    Swift

    public init(errCode: ErrCode, docUrl: DocUrl? = nil, message: String? = nil)
  • Declaration

    Swift

    public func encode(to encoder: Encoder) throws