From 2f8f3ea01797f350c15ffddc432e4d724b62373a Mon Sep 17 00:00:00 2001 From: Darius Date: Fri, 21 Nov 2025 17:34:15 +0100 Subject: [PATCH] Generic Commit; Most likely a fix or small feature --- src/fastify.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/fastify.ts b/src/fastify.ts index b27a5af..d080e45 100644 --- a/src/fastify.ts +++ b/src/fastify.ts @@ -5,9 +5,9 @@ export type ServiceResult = { successful: boolean; }; -export type API_Error = { - error: string; -}; +export class API_Error { + constructor(public error: string) {} +} export abstract class BaseClient { private axiosInstance: AxiosInstance;