Skip to main content

error_status

Function error_status 

Source
pub fn error_status(code: ErrorCode) -> u16
Expand description

The HTTP status of an error envelope with code: 503 when something the mesh depends on is unavailable (the store, another mesh, a key document), 500 otherwise.