Skip to main content

json_internal_server_error

Function json_internal_server_error 

Source
pub fn json_internal_server_error(message: impl Into<String>) -> Error
Expand description

Preserve an existing actix_web::Result signature while ensuring the framework error is rendered with bamboo’s canonical JSON envelope instead of Actix’s default text/plain convenience-error body.