Esempio n. 1
0
 def my_retried_method(count_func):
     count_func()
     exception = BotoServerError("400", "error")
     exception.code = 'ValidationError'
     raise exception
Esempio n. 2
0
 def my_retried_method(count_func):
     count_func()
     exception = BotoServerError("400", "error")
     exception.code = 'ValidationError'
     raise exception
Esempio n. 3
0
 def my_retried_method(count_func):
     count_func()
     exception = BotoServerError("400", "error")
     exception.code = 'Throttling'
     raise exception
Esempio n. 4
0
 def my_retried_method(count_func):
     count_func()
     exception = BotoServerError("400", "error")
     exception.code = 'Throttling'
     raise exception