invalid_numeric

Function invalid_numeric 

Source
pub fn invalid_numeric<T: Display>(value: T, reason: &str) -> CoreError
Expand description

Create numeric parsing error with value and reason

Generates a CoreError::InvalidNumeric with both the invalid value and the reason parsing failed for better debugging.

ยงArguments

  • value - The value that failed to parse
  • reason - Description of why parsing failed