AiutaValidationPolicy

Validation policy enum for controlling SDK validation behavior.

This enum defines how the SDK should handle validation issues during configuration and runtime. Different policies provide different levels of strictness for development and production environments.

val strictSettings = AiutaDebugSettings(
emptyStringsPolicy = AiutaValidationPolicy.FATAL,
listSizePolicy = AiutaValidationPolicy.WARNING
)

val lenientSettings = AiutaDebugSettings(
emptyStringsPolicy = AiutaValidationPolicy.IGNORE,
listSizePolicy = AiutaValidationPolicy.IGNORE
)

See also

Entries

Link copied to clipboard

Ignore validation issues completely.

Link copied to clipboard

Log validation issues as warnings.

Link copied to clipboard

Treat validation issues as fatal errors.

Properties

Link copied to clipboard

Returns a representation of an immutable list of all enum entries, in the order they're declared.

Functions

Link copied to clipboard

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Link copied to clipboard

Returns an array containing the constants of this enum type, in the order they're declared.