1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
//! All error types for this crate.

use std::num::TryFromIntError;

pub struct EntityIdOutOfRangeError;
pub struct EnumValueOutOfRangeError<T>(pub T);

impl From<TryFromIntError> for EntityIdOutOfRangeError {
	fn from(_: TryFromIntError) -> Self {
		Self {}
	}
}