SBErrorCode

public protocol SBErrorCode : Error

Undocumented

  • Undocumented

    Declaration

    Swift

    var message: String { get }
  • Undocumented

    Declaration

    Swift

    var code: Int { get }
  • asSBError(message:) Default implementation

    Undocumented

    Default Implementation

    Converts error code to SBError instance with message

    Declaration

    Swift

    func asSBError(message: String?) -> SBError
  • Undocumented

    Declaration

    Swift

    init?(rawValue: Int)
  • asSBError Extension method

    Converts error code to SBError instance

    Declaration

    Swift

    var asSBError: SBError { get }