UNPKG

@lambda-middleware/http-error-handler

Version:

An error handler middleware for AWS http lambda functions.

8 lines 317 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.isErrorWithStatusCode = void 0; function isErrorWithStatusCode(error) { return typeof error.statusCode === "number"; } exports.isErrorWithStatusCode = isErrorWithStatusCode; //# sourceMappingURL=ErrorWithStatusCode.js.map