Foodtruck Order — TypeScript Reference - v0.1.0
Preparing search index...
backend/src/api-errors
sendApiError
Function sendApiError
sendApiError
(
reply
:
FastifyReply
,
statusCode
:
number
,
body
:
ApiErrorBody
,
)
:
FastifyReply
Send the standard error response without leaking exception or schema details.
Parameters
reply
:
FastifyReply
statusCode
:
number
body
:
ApiErrorBody
Returns
FastifyReply
Settings
Member Visibility
Inherited
Theme
OS
Light
Dark
Foodtruck Order — TypeScript Reference - v0.1.0
Loading...
Send the standard error response without leaking exception or schema details.