Expand description
Catch panics of underlying handlers and turn them into error responses.
Applies to both Language Servers and Language Clients.
Structs§
- Catch
Unwind - The middleware catching panics of underlying handlers and turn them into error responses.
- Catch
Unwind Builder - The builder of
CatchUnwind
middleware. - Response
Future - The
Future
type used by theCatchUnwind
middleware.
Type Aliases§
- Catch
Unwind Layer - A type alias of
CatchUnwindBuilder
conforming to the naming convention oftower_layer
.