PROTOCOL

IdsvrError

swift
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

swift
var error: String

The error code.

errorDescription

swift
var errorDescription: String?

The error description.

failureReason

swift
var failureReason: String

The failure reason.

recoverySuggestion

swift
var recoverySuggestion: IdsvrErrorHandling

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

cause

swift
var cause: Error?

The cause of the error.