Brand symbol for runtime detection
File path where this error was defined
OptionalhttpOptional HTTP status code associated with this error helper
Unique id for registration and DI
Metadata attached to this error
Tags attached to this error
Type guard for checking if an unknown error is this error. Optionally provide a partial data object to require shallow strict matches.
Type guard for checking if an unknown error is this error,
with shallow strict matching (===) on provided data keys.
Construct a typed error with the given data without throwing it
Return an optional dependency wrapper for this error
Runtime helper returned by defineError()/r.error(). Contains helpers to throw typed errors and perform type-safe checks.