ErrorContext
Type. Rejected request plugin input.
Table of contents
Category
Type
Type import
tsimport type { ErrorContext } from "valyrian.js/request";Public signature
tsinterface ErrorContext extends RequestContext { response?: Response; error: unknown; body?: unknown; }Type usage
ErrorContext carries the rejected value and includes response or parsed body when the failed request produced them.