Constructs an instance of DidError, a custom error class for handling DID-related errors.
A DidErrorCode representing the specific type of error encountered.
A human-readable description of the error.
Optional
causeA DidErrorCode representing the specific type of error encountered.
Optional
stackStatic
Optional
prepareOptional override for formatting stack traces
Static
stackStatic
capture
A custom error class for DID-related errors.