def inspect_error_handlers(app: App) -> 'List[ErrorHandlerInfo]':
    'Inspects the error handlers of an application.\n\n    Args:\n        app (falcon.App): The application to inspect. Works with both\n            :class:`falcon.App` and :class:`falcon.asgi.App`.\n\n    Returns:\n        List[ErrorHandlerInfo]: A list of error handlers used by the\n        application.\n    '
    errors = []
    for (exc, fn) in app._error_handlers.items():
        (source_info, name) = _get_source_info_and_name(fn)
        info = ErrorHandlerInfo(exc.__name__, name, source_info, _is_internal(fn))
        errors.append(info)
    return errors
Inspects the error handlers of an application.

Args:
    app (falcon.App): The application to inspect. Works with both
        :class:`falcon.App` and :class:`falcon.asgi.App`.

Returns:
    List[ErrorHandlerInfo]: A list of error handlers used by the
    application.
def inspect_error_handlers(app: App) -> 'List[ErrorHandlerInfo]':
    'Inspects the error handlers of an application.\n\n    Args:\n        app (falcon.App): The application to inspect. Works with both\n            :class:`falcon.App` and :class:`falcon.asgi.App`.\n\n    Returns:\n        List[ErrorHandlerInfo]: A list of error handlers used by the\n        application.\n    '
    errors = []
    for (exc, fn) in app._error_handlers.items():
        (source_info, name) = _get_source_info_and_name(fn)
        info = ErrorHandlerInfo(exc.__name__, name, source_info, _is_internal(fn))
        errors.append(info)
    return errors