LSError

struct LSError
extension LSError : Copyable, CustomNSError, Error, Escapable, Sendable

LicenseSpring error.

  • Error code.

    Declaration

    Swift

    var code: LSError.Code
  • Error user info.

    Declaration

    Swift

    var userInfo: [String : Any]
  • Error reason.

    Declaration

    Swift

    var reason: LSError.Reason
  • LicenseSpring error codes. Some errors comes from server and described at https://docs.licensespring.com/docs/errors-and-response-codes-1

    See more

    Declaration

    Swift

    enum Code
    extension LSError.Code : Equatable, Hashable, RawRepresentable
  • LicenseSpring error reason. Used to determine reason, source and additional information about the error.

    See more

    Declaration

    Swift

    enum Reason
  • The domain of the error.

    Declaration

    Swift

    static var errorDomain: String { get }
  • The error code within the given domain.

    Declaration

    Swift

    var errorCode: Int { get }
  • The user-info dictionary.

    Declaration

    Swift

    var errorUserInfo: [String : Any] { get }