impl From<iri_string::validate::Error> for Error
This commit is contained in:
parent
50a91ed678
commit
86c88a9326
@ -166,6 +166,12 @@ impl From<request::Error> for Error {
|
||||
}
|
||||
}
|
||||
|
||||
impl From<activitystreams::iri_string::validate::Error> for Error {
|
||||
fn from(_err: activitystreams::iri_string::validate::Error) -> Error {
|
||||
Error::InvalidValue
|
||||
}
|
||||
}
|
||||
|
||||
pub type Result<T> = std::result::Result<T, Error>;
|
||||
|
||||
/// Adds a function to a model, that returns the first
|
||||
|
Loading…
x
Reference in New Issue
Block a user