Global exception filter that catches all exceptions and returns a structured JSON response with status, code, hint, path, and meta fields. Supports HTTP, WebSocket, and RPC transports.
app.useGlobalFilters(new AllExceptionsFilter()); Copy
app.useGlobalFilters(new AllExceptionsFilter());
Private
Protected
Description
Global exception filter that catches all exceptions and returns a structured JSON response with status, code, hint, path, and meta fields. Supports HTTP, WebSocket, and RPC transports.
Example