sqlite_collections/identifier/
error.rs1use std::fmt;
2
3#[derive(Debug)]
4pub enum Error {
5 NullCharacter,
6}
7
8impl fmt::Display for Error {
9 fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
10 write!(f, "found illegal null character in identifier")
11 }
12}
13
14impl std::error::Error for Error {}