Errors thrown or returned from the Primer SDK can be cast to PrimerError. PrimerError is an enum containing information that will help you debug issues.

Parameters

Properties

errorIdStringRequired

A unique error identifier.

descriptionStringRequired

The error description.

diagnosticsIdStringRequired

A unique diagnostics id for the given error.

recoverySuggestionString

A recovery suggestion for the given error. In case it's present, use it to try to recover from error.