GlobalErrors
The error handling of the application's own routes (review M; 9.x DefaultGlobalExceptionHandler): a failure that escapes a route the application serves beside Wow's is answered as an RFC 9457 problem of the same shape and codes as the framework routes' (Problem), never Spring's default error body, by the step Wow's routes take (FailureProblems):
a CommandRejectedException (a command an application route sent through a
CommandClient) as its result, the status of its code in the Manifest's tables (ErrorStatuses) and its result asresult;a WowProblemException as its code, status (one Spring has no constant for too), result, retry and
Retry-After;a StorageUnavailableException as 503
wow.storage.unavailablewithRetry-After, a body larger than the codecs take as 413, as on the framework routes;a request that cannot be read (a body the codecs cannot read, a parameter missing or of the wrong type) as
wow.request.malformed, its violation naming the parameter or the body;any other ResponseStatusException (no route, a method or media type not served, the application's own) as the problem of its status alone (
about:blank), with the headers it carries (a 405'sAllow, a 415'sAccept), its reason as the detail for a 4xx; no route's detail is the method and path, not the request's URL;anything else as the first of the application's mappers answers it (ProblemMapper), else as a 500 that says nothing of its cause, which is logged.
It runs before Spring Boot's error handler (order); a response already committed is left as it is. Wow's own routes answer their problems themselves, so it sees what escapes the application's routes only.