Error Boundary
Contain a crash in one widget with Angular's @boundary block, show a fallback and recover. It needs Angular 22.2 or newer.
What it shows
@boundaryand@error— when the price tile throws while rendering, its fallback takes its place and the rest of the screen keeps working. See Handling errors.$reset— the Retry button restores the price, then callsretry()to render the tile again. Fix the cause first, or it fails again.whenon@error— the profile card shows an "offline" fallback for anOfflineError, and a generic one for anything else.resource()—value()throws while the resource is in its error state, so a boundary catches a failed load. An@ifhandles the loading state first.onViewError— caught errors still reach theErrorHandler.boundary-log.tsextendsLynxErrorHandlerto list them on screen, and defers its signal write withqueueMicrotask. SeeLynxErrorHandler.
