ProhibitNullCharactersValidator
Validate that the string doesn't contain the null character.
Attributes
| Attribute | Type | Description |
|---|---|---|
| message | string = "Null characters are not allowed." | The error message used when validation fails because a null character is detected. |
| code | string = "null_characters_not_allowed" | The specific error code identifier used to categorize the validation failure. |
Constructor
Signature
def ProhibitNullCharactersValidator(
message: string = null,
code: string = null
) - > null
Parameters
| Name | Type | Description |
|---|---|---|
| message | string = null | The custom error message to be used if validation fails. |
| code | string = null | The custom error code to be used if validation fails. |
Signature
def ProhibitNullCharactersValidator(
message: string = null,
code: string = null
) - > null
Parameters
| Name | Type | Description |
|---|---|---|
| message | string = null | The custom error message to display when a null character is detected |
| code | string = null | The specific error code used for programmatic identification of the validation failure |