You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gobang/database-tree/src/error.rs

11 lines
231 B
Rust

use std::num::TryFromIntError;
use thiserror::Error;
#[derive(Error, Debug)]
pub enum Error {
#[error("TryFromInt error:{0}")]
IntConversion(#[from] TryFromIntError),
}
pub type Result<T> = std::result::Result<T, Error>;