Skip to content

Introduce NoOp implementation for ResponseErrorHandler #32750

@snicoll

Description

@snicoll

There are cases where you'd like to not do anything special in case of error. Spring Boot already does that for its TestRestTemplate. ResponseErrorHandler makes it a tad harder as it has two handleError methods depending on the level of information available. This changed recently (#28958) which broke them.

Introducing a noop implementation that SB and others can use would be beneficial.

Metadata

Metadata

Assignees

Labels

in: webIssues in web modules (web, webmvc, webflux, websocket)type: enhancementA general enhancement

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions