diff --git a/.changeset/seven-panthers-remain.md b/.changeset/seven-panthers-remain.md new file mode 100644 index 0000000..e91acf3 --- /dev/null +++ b/.changeset/seven-panthers-remain.md @@ -0,0 +1,5 @@ +--- +"@nornir/rest": patch +--- + +Expose the NornirRouteNotFoundError class diff --git a/packages/rest/src/runtime/index.mts b/packages/rest/src/runtime/index.mts index 01ebab2..2e529f2 100644 --- a/packages/rest/src/runtime/index.mts +++ b/packages/rest/src/runtime/index.mts @@ -17,7 +17,7 @@ export { UnparsedHttpEvent, SerializedHttpResponse } from './http-event.mjs'; export {RouteHolder, NornirRestRequestValidationError} from './route-holder.mjs' -export {NornirRestRequestError, NornirRestError, httpErrorHandler, mapError, mapErrorClass} from './error.mjs' +export {NornirRestRequestError, NornirRestError, httpErrorHandler, mapError, mapErrorClass,NornirRouteNotFoundError} from './error.mjs' export {ApiGatewayProxyV2, startLocalServer} from "./converters.mjs" export {httpEventParser, HttpBodyParser, HttpBodyParserMap, HttpQueryStringParser, NornirRestParseError} from "./parse.mjs" export {httpResponseSerializer, HttpBodySerializer, HttpBodySerializerMap} from "./serialize.mjs"