Skip to content

InvalidRequestError

Defined in: core/src/error/error.ts:48

The request cannot be fulfilled as written, and repeating it unchanged will fail the same way. Covers malformed input and values a schema permits but this particular configuration cannot serve.

Not a statement of blame: a request can be entirely reasonable and still be unanswerable here. It says the request has to change, not that the caller erred.

new InvalidRequestError(message, options?): InvalidRequestError;

Defined in: core/src/error/error.ts:10

Parameter Type
message string
options? ErrorOptions

InvalidRequestError

CoreError.constructor