MCPcopy Create free account
hub / github.com/ZingerLittleBee/ServerBee / ok

Function ok

crates/server/src/error.rs:110–112  ·  view source on GitHub ↗
(data: T)

Source from the content-addressed store, hash-verified

108 let body = ErrorBody { error: ErrorDetail { code, message, details } };
109 (status, Json(body)).into_response()
110 }
111}
112
113impl From<sea_orm::DbErr> for AppError {
114 fn from(err: sea_orm::DbErr) -> Self {
115 tracing::error!("Database error: {err}");

Callers 15

get_tagsFunction · 0.85
put_tagsFunction · 0.85
trigger_tracerouteFunction · 0.85
get_traceroute_snapshotFunction · 0.85
list_traceroute_recordsFunction · 0.85
delete_traceroute_recordFunction · 0.85
clear_traceroute_historyFunction · 0.85
list_notificationsFunction · 0.85
get_notificationFunction · 0.85
create_notificationFunction · 0.85
update_notificationFunction · 0.85
delete_notificationFunction · 0.85

Calls

no outgoing calls

Tested by 1

test_notificationFunction · 0.68