enhance error handling by rendering errors based on the request content type
address issue #171. When users attempt to submit a registry workflow (or workflow version) that does not exist, the system returns a more informative error message, such as: