[ 
https://issues.apache.org/jira/browse/CASSANDRASC-36?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Francisco Guerrero updated CASSANDRASC-36:
------------------------------------------
    Description: 
Add a default {{Route#failureHandler()}} that returns a {{JSON}} representation 
of the error for {{io.vertx.ext.web.handler.HttpException}}  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.

  was:
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.


> 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
>          Components: Configuration
>            Reporter: Francisco Guerrero
>            Assignee: Francisco Guerrero
>            Priority: Normal
>
> Add a default {{Route#failureHandler()}} that returns a {{JSON}} 
> representation of the error for {{io.vertx.ext.web.handler.HttpException}}  
> 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]

Reply via email to