1use std::string::FromUtf8Error;
2use thiserror::Error;
3
4#[non_exhaustive]
5#[derive(Error, Debug)]
6pub enum RMeshError {
7 #[error(transparent)]
8 NonUTF8(#[from] FromUtf8Error),
9 #[error("Error while trying to write data: {0}")]
10 BinRwError(#[from] binrw::Error),
11}