Creates an instance of AwSignerError.
The type of the error, as defined in AwSignerErrorType.
A human-readable error message.
Optional details: Record<string, unknown>Optional additional details about the error, such as nested errors or custom properties.
Optional Readonly detailsOptional additional details about the error, such as nested errors or custom properties.
Readonly serializedA serialized string representation of the error details. This is useful for logging and debugging.
Readonly typeThe type of the error, as defined in AwSignerErrorType.
Converts the error to a JSON-compatible object. This is useful for serialization and logging.
An object containing the error's name, type, message, details, and stack trace.
Custom error class for the AwSigner module. Extends the built-in
Errorclass to include additional metadata such as error type and serialized details.