Implement From<activitystreams::checked::CheckError> for Error
This commit is contained in:
parent
3e687f3af0
commit
4b3b5c1f40
@ -127,6 +127,12 @@ impl From<activitypub::Error> for Error {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
impl From<activitystreams::checked::CheckError> for Error {
|
||||||
|
fn from(_: activitystreams::checked::CheckError) -> Error {
|
||||||
|
Error::MissingApProperty
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
impl From<webfinger::WebfingerError> for Error {
|
impl From<webfinger::WebfingerError> for Error {
|
||||||
fn from(_: webfinger::WebfingerError) -> Self {
|
fn from(_: webfinger::WebfingerError) -> Self {
|
||||||
Error::Webfinger
|
Error::Webfinger
|
||||||
|
Loading…
Reference in New Issue
Block a user