OudsError
Creates an error with a plain text message.
val error = OudsError("This field is required.")Content copied to clipboard
Parameters
message
The plain text error message to display.
Creates an error with an annotated message.
val error = OudsError(
annotatedMessage = buildOudsAnnotatedErrorMessage {
append("Password must be ")
withStrong { append("at least 8 characters") }
}
)Content copied to clipboard
Parameters
annotatedMessage
The annotated error message with rich text formatting.