use crate::;
/// Get a string representing of specified parse mode.
///
/// This function returns static string as it is expected to be used across
/// the lifetime of the application. So it has no need to return new instance
/// of `String` every time.
///
/// # Arguments
/// * `mode` - parse mode
/// Create an `ErrorResult` from input of string slice.
///
/// # Arguments
///
/// * `code` - `StatusCode`
/// * `msg` - message string to add as an error description