OptionaldataAn optional payload containing structured context for an error. For a RequestError, this may contain an object with the HTTP status code, e.g., { statusCode: 404 }.
A human-readable, descriptive error message suitable for logging.
A machine-readable error code from PubkyErrorName. Use this for programmatic error handling.
Represents the standard error structure for all exceptions thrown by the Pubky WASM client.
Example