diff --git a/plume-models/src/lib.rs b/plume-models/src/lib.rs index 546d5997..3eface9f 100644 --- a/plume-models/src/lib.rs +++ b/plume-models/src/lib.rs @@ -166,6 +166,12 @@ impl From for Error { } } +impl From for Error { + fn from(_err: activitystreams::iri_string::validate::Error) -> Error { + Error::InvalidValue + } +} + pub type Result = std::result::Result; /// Adds a function to a model, that returns the first