Re-organized providers and added a few
This commit is contained in:
@@ -97,6 +97,12 @@ impl From<shanty_tag::TagError> for ApiError {
|
||||
}
|
||||
}
|
||||
|
||||
impl From<shanty_data::DataError> for ApiError {
|
||||
fn from(e: shanty_data::DataError) -> Self {
|
||||
ApiError::Internal(e.to_string())
|
||||
}
|
||||
}
|
||||
|
||||
impl From<shanty_org::OrgError> for ApiError {
|
||||
fn from(e: shanty_org::OrgError) -> Self {
|
||||
ApiError::Internal(e.to_string())
|
||||
|
||||
Reference in New Issue
Block a user