HTError constructor
HTError(})
HTError can not be created by default constructor.
Implementation
HTError(this.code, this.type,
{String? message,
this.extra,
List interpolations = const [],
this.correction,
this.filename,
this.line,
this.column,
this.offset,
this.length}) {
if (message != null) {
for (var i = 0; i < interpolations.length; ++i) {
message = message!.replaceAll('{$i}', interpolations[i].toString());
}
_message = message;
}
}