]> code.octet-stream.net Git - m17rt/blob - m17app/src/error.rs
Round trip packet modulation and demodulation via RRC
[m17rt] / m17app / src / error.rs
1 use thiserror::Error;
2
3 #[derive(Debug, Error)]
4 pub enum M17Error {
5 #[error("given callsign contains at least one character invalid in M17: {0}")]
6 InvalidCallsignCharacters(char),
7
8 #[error("given callsign is {0} characters long; maximum is 9")]
9 CallsignTooLong(usize),
10 }