From d9f1b10057b537f36904009602dcfd25708399f5 Mon Sep 17 00:00:00 2001 From: "Michael J. Roberts" Date: Sat, 22 Apr 2023 13:45:29 +0100 Subject: [PATCH] feat: Added HandlerError type interface. feat: Added HandlerError type interface. --- src/internals/handler.ts | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/internals/handler.ts b/src/internals/handler.ts index a79e477..720d8c1 100644 --- a/src/internals/handler.ts +++ b/src/internals/handler.ts @@ -10,6 +10,12 @@ export type HandlerAction = (body?: any) => Promise /*****************************************************************************************************************/ +export interface HandlerError { + error: string +} + +/*****************************************************************************************************************/ + export interface Handler { /** *