exceptions: Jackson 3 unchecked JacksonException hierarchy, Spring Boot 4.2 error handling, OpenRewrite and sed migration
Co-Authored-By: Claude Sonnet 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_017ic4b4HkWoC7hLzk61vZa8
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
jackson-databind 3.1.8, spring-boot 4.2.0
|
||||
|
||||
== client sends broken JSON
|
||||
> POST /orders {"id": 1, "quantity": }
|
||||
< 400 {"error":"Unexpected character ('}' (code 125)): expected a value"}
|
||||
|
||||
== client sends a wrong type
|
||||
> POST /orders {"id":1,"quantity":1,"lines":[{"sku":"A","qty":"two"}]}
|
||||
< 400 {"error":"Cannot deserialize value of type `int` from String \"two\": not a valid `int` value"}
|
||||
|
||||
== stored data is corrupt (server problem)
|
||||
> GET /orders/stored
|
||||
< 400 {"error":"Unexpected end-of-input within/between Object entries"}
|
||||
|
||||
== response cannot be serialised (server problem)
|
||||
> GET /orders/unwritable
|
||||
< 400 {"error":"lazy collection not initialised"}
|
||||
Reference in New Issue
Block a user