Skip to content

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 ​

ParameterType
errorunknown

Returns ​

error is NotFoundError

Released under the MIT License.