コード例 #1
0
ファイル: util_tests.py プロジェクト: philipppahl/cfn-sphere
 def my_retried_method(count_func):
     count_func()
     exception = BotoServerError("400", "error")
     exception.code = 'ValidationError'
     raise exception
コード例 #2
0
 def my_retried_method(count_func):
     count_func()
     exception = BotoServerError("400", "error")
     exception.code = 'ValidationError'
     raise exception
コード例 #3
0
ファイル: util_tests.py プロジェクト: philipppahl/cfn-sphere
 def my_retried_method(count_func):
     count_func()
     exception = BotoServerError("400", "error")
     exception.code = 'Throttling'
     raise exception
コード例 #4
0
 def my_retried_method(count_func):
     count_func()
     exception = BotoServerError("400", "error")
     exception.code = 'Throttling'
     raise exception