Skip to main content

Module error

Module error 

Source
Expand description

Server-wide failures that wrap a foreign error. A #[from] field keeps that error as the source, so map_err(ServerError::from) is all a call site needs and the log still shows what went wrong.

Enumsยง

ServerError