HTError.resourceDoesNotExist constructor

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

Error: Resource does not exit.

Implementation

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