apiInternalServerErrorResponse
apiInternalServerErrorResponse<
TBody>(resData,options?):Response
Sends a response with HTTP status code 500 (Internal Server Error).
Type Parameters
TBody
TBody
Parameters
resData
TBody
The response data to be sent to the client.
options?
ResponseInit
Response initialization settings, such as headers and status.
Returns
Response