Exceptions

If an exception occurs the KeychainCore framework will throw NSError with the error domain set to the area of code where the error took place, the code set to the error code value, and the userInfo set to the error message associated with the error code. These errors can also be caught if you are using Swift.

Error Domains

Error Domain Description

AssetErrorDomain

An exception occurred in the Asset class

ContactErrorDomain

An exception occurred in the Contact class

FacadeErrorDomain

An exception occurred in the Facade class

GatewayErrorDomain

An exception occurred in the Gateway class

MonitorErrorDomain

An exception occurred in the Monitor class

PersonaErrorDomain

An exception occurred in the Persona class

SettingsErrorDomain

An exception occurred in the Settings class

TransactionErrorDomain

An exception occurred in the LedgerTransaction class

UriErrorDomain

An exception occurred in the Uri class

VerificationErrorDomain

An exception occurred in the Verification class