verificationFailedMessageBuilder property
Builds the message shown below the digits when onSubmit throws.
The builder receives errorMessage, which is the message extracted from
the thrown error: the error itself when it is a String, or its
message / msg field when it is an object exposing one. If neither
applies, errorMessage is null.
Defaults to defaultVerificationFailedMessageBuilder, which returns
"Could not verify the code" when the message is null or empty and
"Could not verify the code: $errorMessage" otherwise.
Implementation
final String Function({Object? error}) verificationFailedMessageBuilder;