mirror of
https://gitlab.com/veloren/veloren.git
synced 2024-08-30 18:12:32 +00:00
dbbcc1e80e
Former-commit-id: 06bafdf69486f4da5fbc416835e34c5bed8c2caa
14 lines
216 B
Rust
14 lines
216 B
Rust
use common::net::PostError;
|
|
|
|
#[derive(Debug)]
|
|
pub enum Error {
|
|
Network(PostError),
|
|
Other(String),
|
|
}
|
|
|
|
impl From<PostError> for Error {
|
|
fn from(err: PostError) -> Self {
|
|
Error::Network(err)
|
|
}
|
|
}
|