OpenQuizz
Une application de gestion des contenus pédagogiques
CheckoutError Class Reference
Inheritance diagram for CheckoutError:
Collaboration diagram for CheckoutError:

Public Member Functions

def __init__ (self, message, failed_files, valid_files, failed_reasons)
 
def __str__ (self)
 

Data Fields

 failed_files
 
 failed_reasons
 
 valid_files
 

Detailed Description

Thrown if a file could not be checked out from the index as it contained
changes.

The .failed_files attribute contains a list of relative paths that failed
to be checked out as they contained changes that did not exist in the index.

The .failed_reasons attribute contains a string informing about the actual
cause of the issue.

The .valid_files attribute contains a list of relative paths to files that
were checked out successfully and hence match the version stored in the
index

Constructor & Destructor Documentation

◆ __init__()

def __init__ (   self,
  message,
  failed_files,
  valid_files,
  failed_reasons 
)

Member Function Documentation

◆ __str__()

def __str__ (   self)

Field Documentation

◆ failed_files

failed_files

◆ failed_reasons

failed_reasons

◆ valid_files

valid_files

The documentation for this class was generated from the following file: