| 334 | |
| 335 | |
| 336 | class NoCredentialsErrorHandler(FilteredExceptionHandler): |
| 337 | EXCEPTIONS_TO_HANDLE = NoCredentialsError |
| 338 | RC = CONFIGURATION_ERROR_RC |
| 339 | |
| 340 | def _extract_error_info(self, exception): |
| 341 | message = ( |
| 342 | f'{exception}. You can configure credentials ' |
| 343 | f'by running "aws login".' |
| 344 | ) |
| 345 | return {'Code': 'NoCredentials', 'Message': message} |
| 346 | |
| 347 | |
| 348 | class PagerErrorHandler(FilteredExceptionHandler): |
no outgoing calls
no test coverage detected