| 322 | |
| 323 | |
| 324 | class NoRegionErrorHandler(FilteredExceptionHandler): |
| 325 | EXCEPTIONS_TO_HANDLE = NoRegionError |
| 326 | RC = CONFIGURATION_ERROR_RC |
| 327 | |
| 328 | def _extract_error_info(self, exception): |
| 329 | message = ( |
| 330 | f'{exception} You can also configure your region by running ' |
| 331 | f'"aws configure".' |
| 332 | ) |
| 333 | return {'Code': 'NoRegion', 'Message': message} |
| 334 | |
| 335 | |
| 336 | class NoCredentialsErrorHandler(FilteredExceptionHandler): |
no outgoing calls
no test coverage detected