コード例 #1
0
ファイル: __init__.py プロジェクト: charles-cai/Repos.io
 def get_exception(self, code, what):
     """
     Return an internal exception (BackendError)
     """
     return BackendError.make_for(self.name, code, what)
コード例 #2
0
ファイル: __init__.py プロジェクト: dDRAGON-VR/Repos.io
 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)
コード例 #3
0
 def get_exception(self, code, what):
     """
     Return an internal exception (BackendError)
     """
     return BackendError.make_for(self.name, code, what)
コード例 #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)