D1Error

public struct D1Error : Error
extension D1Error: LocalizedError

D1 errors.

Note

When an error occurs and support is required, it is recommended to include the full error details including the underlying errors in the report.

Since

1.0.0

  • D1 error codes.

    Note

    D1 SDK returns one of these error codes for each D1Error.

    Since

    1.0.0

    See more

    Declaration

    Swift

    public enum Code : Int, CaseIterable
  • Returns the error code D1Error.Code.

    Declaration

    Swift

    public let code: Code
  • Returns the error that was encountered in an underlying implementation.

    Declaration

    Swift

    public var underlyingError: NSError?
  • The reason for the error encountered. This contains information pertaining to the underlying cause of the error.

    Declaration

    Swift

    public var failureReason: String? { get }
  • A description of the error encountered.

    Declaration

    Swift

    public var errorDescription: String? { get }
  • Recovery suggestion information.

    Declaration

    Swift

    public var recoverySuggestion: String? { get }