Skip to content

lambda-utils

Open in ChatGPTOpen in Claude

@axis-tech-co/axis-lambda-utils is the runtime companion to the constructs: helpers your handler code imports at execution time, not synth time. Where constructs shape infrastructure, lambda-utils shapes what runs inside a function.

The package also exports typed error classes — AtfError and its subclasses (NotFoundError, ValidationError, ForbiddenError, ConflictError, QuotaExceededError) — plus serializeError and statusCodeFor. Throw a typed error from service code and the error-handler middleware maps it to the right HTTP status. The full class list is in the generated API reference.

© 2026 Axis Tech. Powered by axis-tech.co.