AIDK API Reference / aidk-shared / isNotFoundError
Function: isNotFoundError() ​
ts
function isNotFoundError(error: unknown): error is NotFoundError;Defined in: packages/shared/src/errors.ts:683
Check if error is a NotFoundError
Parameters ​
| Parameter | Type |
|---|---|
error | unknown |
Returns ​
error is NotFoundError