Commits

Angel Velásquez  committed 59ed75b

Adding an exception when the credentials expires

  • Participants
  • Parent commits 7f469cf

Comments (0)

Files changed (1)

File pymercadopago/mpexceptions.py

 
     def __str__(self):
         return repr(self.value)
+
+class ExpiredAuthenticationError(Exception):
+
+    def __init__(self, value):
+        self.value = value
+
+    def __str__(self):
+        return repr(self.value)
+