Converts an Error object to JSON by copying its fields.
Determines whether the given conversion request is supported, given the available content type conversions:
Matches all inputs to all outputs.
Input that needs to be handled.
A promise resolving when handling is finished.
Input data that will be handled if it can be handled.
A promise resolving if the input can be handled, rejecting with an Error if not.