//
Search across all documentation pages
10 pages in this section.
Why exceptions and logging are two separate channels - one for control flow, one for observability - and how the exception hierarchy, chaining, and exception groups all serve the first channel while the logging module serves the second - the mental model behind every other page in this section.
`try`/`except`/`else`/`finally` and the exception hierarchy.
`raise ... from`, re-raising, and preserving tracebacks.
Designing meaningful, catchable error types.
Loggers, handlers, formatters, levels, and configuration.
`warnings`, deprecation policy, and filters.
Fail loudly, log usefully, never swallow silently.