HTError.castee constructor

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

Error: Illegal castee.

Implementation

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