Skip to content

ElysiaStatus

PropertyDescription
headers-
response-
status-

Defined in: elysia/dist/error.d.ts:124

Type ParameterDefault type
Code extends number | keyof StatusMap-
TStatusResponse<Code>
Status extends NumericStatus<Code>NumericStatus<Code>
new ElysiaStatus<Code, T, Status>(
code,
res,
headers?
): ElysiaStatus<Code, T, Status>;

Defined in: elysia/dist/error.d.ts:136

ParameterType
codeCode
resT
headers?Record<string, string>

ElysiaStatus<Code, T, Status>

optional headers?: Record<string, string>;

Defined in: elysia/dist/error.d.ts:135


response: T;

Defined in: elysia/dist/error.d.ts:134


status: Status;

Defined in: elysia/dist/error.d.ts:133

Last updated:

Type to search the documentation.

    Up arrowDown arrow to navigateEnter to selectEscape to close