IgnoredFilesException¶
- class IgnoredFilesException[source]¶
The exception used when invalid files were present in a submission.
- code: Literal['IGNORED_FILES_IN_ARCHIVE']¶
A unique code identifying the kind of error that occurred.
- removed_files: Sequence[FileDeletion]¶
The files that were removed from the submission.
- invalid_files: Sequence[Sequence[FileRule | str]]¶
The name and matching rule or reason for every file that was rejected by the ignore filter.
- original_tree: ExtractFileTreeDirectory¶
The file tree of the submission before invalid files were removed.
- filter_version: int¶
Deprecated: the version number of the ignore filter that was used, use filter_name instead.
- filter_name: CGIgnoreVersion¶
The name of the ignore filter version that was used.
- missing_files: Sequence[MissingFile]¶
The files that were required but missing from the submission.
- add_note(object, /)¶
Exception.add_note(note) – add a note to the exception
- args¶
- with_traceback(object, /)¶
Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.