forked from
smokesignal.events/smokesignal
i18n+filtering fork - fluent-templates v2
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 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-url-1 Unsupported collection type")]
14 UnsupportedCollection,
15}