All errors in quais include properties to assist in machine-readable errors.

Extends

  • Error

Extended by

Type parameters

Type parameterValue
T extends ErrorCodeErrorCode

Properties

PropertyTypeDescription
codeErrorCodeThe string error code.
error?ErrorAny related error.
info?Record<string, any>Additional info regarding the error that may be useful.

This is generally helpful mostly for human-based debugging.
shortMessagestringA short message describing the error, with minimal additional details.