mirror of
https://github.com/ParrotXray/Mantis.git
synced 2026-08-24 19:00:27 +09:00
15 lines
316 B
Rust
15 lines
316 B
Rust
use macros::traceable;
|
|
|
|
traceable! {
|
|
HttpError {
|
|
#[error("Bind port error")]
|
|
BindPortError => tracing::Level::ERROR,
|
|
|
|
#[error("Http Server panic")]
|
|
ServerPanic => tracing::Level::ERROR,
|
|
|
|
#[error("WebSocket error")]
|
|
WebSocketError => tracing::Level::ERROR,
|
|
}
|
|
}
|