Skip to main content

new_api_error

Function new_api_error 

Source
pub fn new_api_error(
    code: u16,
    message: &str,
    details: &str,
    request_id: &str,
) -> Error
Expand description

Create a new generic API error.