## Lesson — Swallowing errors in core modules hides silent failures,

**Tags:** architecture, observability, error-handling

Swallowing errors in core modules hides silent failures, like corrupt caches, while direct console logging couples the library to a specific environment. Using optional onWarn callbacks allows core logic to report diagnostic issues without dictating how the presentation layer displays them.
