Skip to main content

pane_open_error_status

Function pane_open_error_status 

Source
pub(crate) fn pane_open_error_status(e: &str) -> StatusCode
Expand description

The HTTP status for a pane.open that failed: the caller’s own mistake (a missing or invalid argument, a view that does not exist) is 400, an agent already at its floating-pane limit is 429, anything else is srv’s (500).