Skip to main content
Extends: Error

Constructor

Creates a Weaverse request error with a stable code and diagnostics.

Parameters

string
required
string
number
Record<string, unknown>

Returns

WeaverseError

Properties

string
required
Machine-readable error code.
Record<string, unknown>
Structured diagnostic details for logging and error handling.
number
HTTP status associated with the failure, when available.