lexical_util::format

Function format_error

Source
pub const fn format_error<const FORMAT: u128>() -> Error
Expand description

Get the error type from the format packed struct.

An error type of Error::Success means the format is valid, any other error signifies an invalid format.