Skip to main content

format_error_message

Function format_error_message 

Source
pub fn format_error_message(error_code: i32, error_string: &str) -> String
Expand description

Get a human-readable error description.

§Arguments

  • error_code - The IB API error code
  • error_string - The error message from IB

§Returns

Returns a formatted error description.