HTError.binding constructor

HTError.binding({
  1. String? filename,
  2. int? line,
  3. int? column,
  4. int? offset,
  5. int? length,
})

Error: Bind a non literal function is not allowed.

Implementation

HTError.binding(
    {String? filename, int? line, int? column, int? offset, int? length})
    : this(ErrorCode.binding, ErrorType.runtimeError,
          message: HTLocale.current.errorBinding,
          filename: filename,
          line: line,
          column: column,
          offset: offset,
          length: length);