PROTOCOL

IdsvrError

public protocol IdsvrError where Self: Error

Describes an error that provides messages describing why an error occurred and provides more information about the error.

Properties

error

var error: String

The error code.

errorDescription

var errorDescription: String?

The error description.

failureReason

var failureReason: String

The failure reason.

recoverySuggestion

var recoverySuggestion: IdsvrErrorHandling

A recovery strategy suggestion that can be type checked to help on how to handle the reported error.

cause

var cause: Error?

The cause of the error.