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