export declare function populateErrorResponse(res: ServerResponse, error: unknown): boolean;
Tries to populate a server response from an error object
Returns: true
if the error is known and the response object was populated, otherwise false
Parameters
ServerResponse res:
The server response to populate
unknown error:
The error to check and use