feat: add operations mutation api for alpine ui
This commit is contained in:
@@ -126,6 +126,11 @@ impl From<RegistryError> for ApiError {
|
||||
} => Self::not_found(format!(
|
||||
"operation version {version} for {operation_id} was not found"
|
||||
)),
|
||||
RegistryError::OperationHasPublishedAgentBindings { operation_id } => {
|
||||
Self::conflict(format!(
|
||||
"operation {operation_id} cannot be deleted while it is bound to a published agent"
|
||||
))
|
||||
}
|
||||
RegistryError::AuthProfileNotFound { auth_profile_id } => {
|
||||
Self::not_found(format!("auth profile {auth_profile_id} was not found"))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user