mirror of
https://github.com/localsend/localsend.git
synced 2026-08-07 07:14:52 +00:00
15 lines
242 B
Rust
15 lines
242 B
Rust
use thiserror::Error;
|
|
|
|
pub mod client;
|
|
pub mod dto;
|
|
pub mod dto_v2;
|
|
pub mod server;
|
|
pub mod state;
|
|
|
|
#[derive(Debug, Error)]
|
|
#[error("{status};{message:?}")]
|
|
pub struct StatusCodeError {
|
|
pub status: u16,
|
|
pub message: Option<String>,
|
|
}
|