Skip to main content

prettify_error

Function prettify_error 

Source
pub fn prettify_error(error: &VldError) -> String
Expand description

Format a VldError into a human-readable string.

§Example output

✖ String must be at least 2 characters
  → at .name
✖ Invalid email address
  → at .email