1use thiserror::Error; 2 3/// This error is raised when trying to parse an invalid IRI. 4#[derive(Debug, Error)] 5#[error("The given prefix '{0}' does not match PN_PREFIX?")] 6pub struct InvalidPrefix(pub String);