Francisco Guerrero created CASSANDRASC-36:
---------------------------------------------
Summary: Support for ErrorHandler route in Sidecar
Key: CASSANDRASC-36
URL: https://issues.apache.org/jira/browse/CASSANDRASC-36
Project: Sidecar for Apache Cassandra
Issue Type: Improvement
Reporter: Francisco Guerrero
Assignee: Francisco Guerrero
Add a default {{Route#failureHandler()}} that returns a {{JSON}} representation
of the error for {{io.vertx.ext.web.handler.HttpException}}s as well as
{{REQUEST_TIMEOUT}} errors.
Additionally, we need to allow for custom implementations of the
{{ErrorHandler}} interface to be injected. Downstream projects can provide
custom implementations of the {{ErrorHandler}} to fit the needs of the project.
--
This message was sent by Atlassian Jira
(v8.20.7#820007)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]