The smokesignal.events web application
at main 15 lines 630 B view raw
1use thiserror::Error; 2 3/// Represents errors that can occur during URL processing and validation. 4/// 5/// These errors typically happen when validating or processing URLs in the system, 6/// including checking for supported collection types in URL paths. 7#[derive(Debug, Error)] 8pub(crate) enum UrlError { 9 /// Error when an unsupported collection type is specified in a URL. 10 /// 11 /// This error occurs when a URL contains a collection type that is not 12 /// supported by the system, typically in an AT Protocol URI path. 13 #[error("error-smokesignal-url-1 Unsupported collection type")] 14 UnsupportedCollection, 15}