Beispiel #1
0
 def get_exception(self, code, what):
     """
     Return an internal exception (BackendError)
     """
     return BackendError.make_for(self.name, code, what)
Beispiel #2
0
 def get_exception(self, code, what, message=None, extra=None):
     """
     Return an internal exception (BackendError)
     """
     return BackendError.make_for(self.name, code, what, message, extra)
Beispiel #3
0
 def get_exception(self, code, what):
     """
     Return an internal exception (BackendError)
     """
     return BackendError.make_for(self.name, code, what)
Beispiel #4
0
 def get_exception(self, code, what, message=None, extra=None):
     """
     Return an internal exception (BackendError)
     """
     return BackendError.make_for(self.name, code, what, message, extra)