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.

response: Response | None

The response that generated this error, only present if this data was parsed as toplevel exception from a response.

message: str

The user readable message for the exception.

description: str

A more detailed version of the error message.

request_id: str

The id of the request that went wrong. Please include this id when reporting bugs.