NewTooManyRequestsException xxx
(cause string, lasterr error)
| 322 | |
| 323 | // NewTooManyRequestsException xxx |
| 324 | func NewTooManyRequestsException(cause string, lasterr error) FinalError { |
| 325 | return NewGenericException(BasicError{ |
| 326 | Code: TooManyRequestsException, |
| 327 | Cause: cause, |
| 328 | Message: "Too many requests", |
| 329 | Status: http.StatusTooManyRequests, |
| 330 | }, lasterr) |
| 331 | } |
| 332 | |
| 333 | func NewResourceNotFoundException(cause string, lasterr error) FinalError { |
| 334 | return NewGenericException(BasicError{ |
nothing calls this directly
no test coverage detected