Skip to content

NlpIntentNotFoundError

Defined in: error/error.ts:11

Thrown when an intent id has no registered action behind it.

The expected cause is not a typo but a restart: intent ids are minted per process, so a match held across one names something that no longer exists. Extends core’s NotFoundError, so a host speaking HTTP answers 404 without this package knowing about status codes.

  • NotFoundError
new NlpIntentNotFoundError(intentId): NlpIntentNotFoundError;

Defined in: error/error.ts:14

Parameter Type
intentId string

NlpIntentNotFoundError

NotFoundError.constructor
readonly intentId: string;

Defined in: error/error.ts:12