| 346 | |
| 347 | |
| 348 | class PagerErrorHandler(FilteredExceptionHandler): |
| 349 | EXCEPTIONS_TO_HANDLE = PagerInitializationException |
| 350 | RC = CONFIGURATION_ERROR_RC |
| 351 | |
| 352 | def _extract_error_info(self, exception): |
| 353 | message = ( |
| 354 | f'Unable to redirect output to pager. Received the ' |
| 355 | f'following error when opening pager:\n{exception}\n\n' |
| 356 | f'Learn more about configuring the output pager by running ' |
| 357 | f'"aws help config-vars".' |
| 358 | ) |
| 359 | return {'Code': 'Pager', 'Message': message} |
| 360 | |
| 361 | |
| 362 | class UnknownArgumentErrorHandler(FilteredExceptionHandler): |
no outgoing calls
no test coverage detected