HTError.sourceProviderError constructor

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

Error: Module import error

Implementation

HTError.sourceProviderError(String id, String from,
    {String? extra,
    String? correction,
    String? filename,
    int? line,
    int? column,
    int? offset,
    int? length})
    : this(ErrorCode.sourceProviderError, ErrorType.externalError,
          message: HTLocale.current.errorSourceProviderError,
          interpolations: [id, from],
          extra: extra,
          correction: correction,
          filename: filename,
          line: line,
          column: column,
          offset: offset,
          length: length);