Modified the base PyoidcError class such that is may contain the response/request that is under processing when the error was encountered.
This commit is contained in:
parent
cadc41e0ab
commit
61ca48ec83
|
@ -2,7 +2,9 @@ __author__ = 'rohe0002'
|
|||
|
||||
|
||||
class PyoidcError(Exception):
|
||||
pass
|
||||
def __init__(self, errmsg, message="", *args):
|
||||
Exception.__init__(self, errmsg, *args)
|
||||
self.message = message
|
||||
|
||||
|
||||
class MissingAttribute(PyoidcError):
|
||||
|
|
Reference in New Issue