Skip to content
@ng-doc/app / Class

NgDocContentState

Request-local content failures observed by the SSR readiness boundary.

Decorators
@Service
DeclarationTypeScript
@Service()
export class NgDocContentState { … }

Members

Properties

1
failure: Signal<NgDocContentFailure | undefined>
readonly

The failure currentFailure() returns, as a signal. It changes with every report() and clear() call.

Methods

4
(…): void

Forgets the failure of one content owner.

(): NgDocContentFailure | undefined

Returns the oldest failure that is still recorded, if any.

(…): void

Records the failure of one content owner, replacing its previous failure.

(): void

Throws the error of currentFailure(), if there is one.

Symbol
Kind
Class
Decorators
@Service
Scope
@ng-doc/app
Edit this page