Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
#[derive(Clone, Debug, PartialEq)]
pub enum Error {
	NotSupportedFrame,
	NotSupportedFrameGroup,
}
impl Error {
	pub fn as_str(&self) -> &str {
		match self {
			Self::NotSupportedFrame => "Not supported frame",
			Self::NotSupportedFrameGroup => "Not supported frame group",
		}
	}
}