Checks if the input data can be handled by this class. Throws an error if it can't handle the data.
Creates a ResponseDescription based on the Representation.
Handles the given input. This should only be done if the canHandle function returned true
.
Therefore, consider using the handleSafe function instead.
Prepares the arguments used by all functions.
Creates a Representation based on the given error. Content type will be internal/error. The status code is used for metadata.
Converts an error into a Representation of content type internal/error. Then feeds that representation into its converter to create a representation based on the given preferences.