Skip to content

ApiNotFoundError

import { ApiNotFoundError } from '@kairo-js/router'

extends Error

Thrown when the specified API name does not exist in the routing table. Occurs when the apiName passed to router.request() is not registered on the target addon.

Constructor

typescript
constructor(apiName?: string)
ParameterTypeDescription
apiNamestringThe API name that was not found (optional)

Released under the MIT License.