@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 .