Create a function to handle the final response.
Get headers from Error object.
Get message from Error object, fallback to status message.
Get status code from Error object.
Get resource name for the request.
This is typically just the original pathname of the request but will fallback to "resource" is that cannot be determined.
Get status code from response.
Send response.
Set response headers from an object.
Generated using TypeDoc
Create a minimal HTML document.