mirror of
https://git.joinplu.me/Plume/Plume.git
synced 2024-11-23 03:51:00 +00:00
Implement From<activitystreams::checked::CheckError> for Error
This commit is contained in:
parent
3e687f3af0
commit
4b3b5c1f40
1 changed files with 6 additions and 0 deletions
|
@ -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 {
|
||||
fn from(_: webfinger::WebfingerError) -> Self {
|
||||
Error::Webfinger
|
||||
|
|
Loading…
Reference in a new issue