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