src/main/java/com/blockscore/models/error/RequestError.java
@NotNull
  public ValidationErrorType getValidationErrorCode() {
    if (code == null) {
      return ValidationErrorType.UNKNOWN;
    } else {
      return ValidationErrorType.toEnum(code);
    }
  }
@NotNull
  public ValidationErrorType getValidationErrorCode() {
    if (code == null) {
      return ValidationErrorType.UNKNOWN;
    } else {
      return ValidationErrorType.toEnum(code);
    }
  }
@ NotNull public ValidationErrorType getValidationErrorCode ( ) { if ( code == null ) { return ValidationErrorType . UNKNOWN ; } else { return ValidationErrorType . toEnum ( code ) ; } }
Gets the validation error type.

@return the validation error type
Gets the validation error type .