# LSError

    struct LSError

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

LicenseSpring error.

- `code`

  Error code.

  #### Declaration

  Swift

      var code: LSError.Code

- `userInfo`

  Error user info.

  #### Declaration

  Swift

      var userInfo: [String : any Sendable]

- `reason`

  Error reason.

  #### Declaration

  Swift

      var reason: LSError.Reason

- `Code`

  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, Sendable, SendableMetatype

- `Reason`

  LicenseSpring error reason. Used to determine reason, source and additional information about the error.

  See more

  #### Declaration

  Swift

      enum Reason

      extension LSError.Reason : Sendable, SendableMetatype

- `errorDomain`

  The domain of the error.

  #### Declaration

  Swift

      static var errorDomain: String { get }

- `errorCode`

  The error code within the given domain.

  #### Declaration

  Swift

      var errorCode: Int { get }

- `errorUserInfo`

  The user-info dictionary.

  #### Declaration

  Swift

      var errorUserInfo: [String : Any] { get }

© 2026 LicenseSpring. All rights reserved. (Last updated: 2026-02-19)

Generated by jazzy ♪♫ v0.15.3, a Realm project.