Skip to main content
cngx-src documentation

CngxErrorTplContext

Interface

projects/data-display/treetable/models.ts

Import#

import { CngxErrorTplContext } from '@cngx/data-display/treetable'

Description#

Template context type for CngxErrorTpl.

<ng-template cngxError let-error>
  <p>Load failed: {{ describeError(error) }}</p>
</ng-template>

Index#

Instance Properties#

$implicit#unknown

The raw error from the bound async state - available as let-error.

Emits the treetable's retry output - available as let-retry="retry". Wire it to a button so the consumer can re-run the failed load; the built-in error surface has no retry control of its own.