Skip to content

NotificationsError — @gj-kit/nest-notifications

A public type from @gj-kit/nest-notifications. The signature below is taken directly from the 0.1.1 release declaration.

import { NotificationsError } from '@gj-kit/nest-notifications';
/**
* `NotificationsError`는 **클래스**다. `export type { NotificationsError }`로 내면 dts
* 롤업이 `type` 수식어를 떨어뜨려 산출 선언이 이 이름을 런타임 값으로 광고하고, 소비자의
* `import { NotificationsError }`가 타입 검사만 통과한 뒤 ESM에서 모듈 인스턴스화 실패로
* 프로세스를 죽인다(CJS에서는 `undefined`). 그래서 값이 될 수 없는 **별칭**으로 낸다.
* 생성과 판정은 `./core`의 몫이다(`isNotificationsError`가 정본, §2.5).
* 형제 `nest-operations-jobs`가 같은 결함에 같은 처방을 냈다.
*/
type NotificationsError = NotificationsError$1;

This declaration is the source of truth for parameters, optionality, generics, return values, and public union/type contracts. Check the package golden path and this subpath’s import conditions for required environment, permission, and error boundaries before calling it.

  • Package: @gj-kit/nest-notifications
  • Version: 0.1.1
  • Public entry: .
  • Source: GitHub