apitally
Version:
Simple API monitoring & analytics for REST APIs built with Express, Fastify, Hono, Koa, and NestJS.
17 lines (16 loc) • 471 B
JavaScript
var __defProp = Object.defineProperty;
var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
// src/adonisjs/index.ts
var defineConfig = /* @__PURE__ */ __name((config) => {
return config;
}, "defineConfig");
var captureError = /* @__PURE__ */ __name((error, ctx) => {
if (error instanceof Error) {
ctx.apitallyError = error;
}
}, "captureError");
export {
captureError,
defineConfig
};
//# sourceMappingURL=index.js.map