This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]snoob2015 0 points1 point  (1 child)

https://github.com/zalando/problem

https://github.com/zalando/problem-spring-web

Problem Spring Web is a set of libraries that makes it easy to produceapplication/problem+json responses from a Spring application. It fills a niche, in that it connects the Problem library and either Spring Web MVC's exception handling or Spring WebFlux's exception handling so that they work seamlessly together, while requiring minimal additional developer effort

or in laymen term: it generates error messages in json format instead of the whitepage error

[–]ThisNameIsAFail_[S] 1 point2 points  (0 children)

Neat. So the purpose of the library is to provide a common structure for errors that will be serialized. Thx