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
res: ServerResponse
The server response to populate
error: unknown
The error to check and use