UNPKG

@senacor/azure-function-middleware

Version:

Middleware for azure functions to handle authentication, authorization, error handling and logging

12 lines (11 loc) 325 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.ApplicationError = void 0; class ApplicationError extends Error { constructor(message, status, body) { super(message); this.status = status; this.body = body; } } exports.ApplicationError = ApplicationError;