HTError.version constructor

HTError.version(
  1. String codeVer,
  2. String itpVer, {
  3. String? extra,
  4. String? correction,
  5. String? filename,
  6. int? line,
  7. int? column,
  8. int? offset,
  9. int? length,
})

Error: Incompatible bytecode version.

Implementation

HTError.version(String codeVer, String itpVer,
    {String? extra,
    String? correction,
    String? filename,
    int? line,
    int? column,
    int? offset,
    int? length})
    : this(ErrorCode.version, ErrorType.runtimeError,
          message: HTLocale.current.errorVersion,
          interpolations: [codeVer, itpVer],
          extra: extra,
          correction: correction,
          filename: filename,
          line: line,
          column: column,
          offset: offset,
          length: length);