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.
Extends
Section titled “Extends”NotFoundError
Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”new NlpIntentNotFoundError(intentId): NlpIntentNotFoundError;Defined in: error/error.ts:14
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
intentId |
string |
Returns
Section titled “Returns”NlpIntentNotFoundError
Overrides
Section titled “Overrides”NotFoundError.constructorProperties
Section titled “Properties”intentId
Section titled “intentId”readonly intentId: string;Defined in: error/error.ts:12