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

Public Member Functions

def __init__ (self, cause)
 
def cause (self)
 
- Public Member Functions inherited from PyMongoError
def __init__ (self, message='', error_labels=None)
 
def has_error_label (self, label)
 
def __str__ (self)
 
def __unicode__ (self)
 

Detailed Description

Raised when encryption or decryption fails.

This error always wraps another exception which can be retrieved via the
:attr:`cause` property.

.. versionadded:: 3.9

Constructor & Destructor Documentation

◆ __init__()

def __init__ (   self,
  cause 
)

Member Function Documentation

◆ cause()

def cause (   self)
The exception that caused this encryption or decryption error.

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