RequestTimeoutError
Thrown by the handler when the request outlives its time budget.
Thrown by the handler when the request outlives its time budget. Answered with 504.
Import#
ts
import { RequestTimeoutError } from "@shadow-js/dusk/server";
Signature#
ts
class RequestTimeoutError extends HttpError
Examples#
ts
throw new RequestTimeoutError(30_000);