@ NotNull public ValidationErrorType getValidationErrorCode ( ) { if ( code == null ) { return ValidationErrorType . UNKNOWN ; } else { return ValidationErrorType . toEnum ( code ) ; } }
Gets the validation error type .