Skip to main content

parse_error_to_sdk

Function parse_error_to_sdk 

Source
fn parse_error_to_sdk<E: Display>(e: E) -> PasswordRulesError
Expand description

Map the external parser’s error into the SDK’s PasswordRulesError::Parse(String), truncating the message so the payload stays bounded across FFI.