IgnoredFilesException#

class IgnoredFilesException[source]#

The exception used when invalid files were present in a submission.

removed_files: Sequence[FileDeletion]#

The files that were removed.

invalid_files: Sequence[Sequence[Union[FileRule, str]]]#

The invalid files that were in the archive. This is a list of two tuples, where the first item is the full name of the invalid file, and the second item is the reason why the file/directory should be removed.

original_tree: ExtractFileTreeDirectory#

The original tree that was submitted.

filter_version: int#

The version of the filter that removed this version. Deprecated, use filter_name instead.

filter_name: CGIgnoreVersion#

The version of the filter that caused the error.

missing_files: Sequence[MissingFile]#

Which files are missing but are required.

add_note()#

Exception.add_note(note) – add a note to the exception

args#
with_traceback()#

Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.

response: Optional[Response]#

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.

code: APICodes#

What type of error is this?

request_id: str#

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