From ff6711ec0c9d155c993678594d81001c8775ec51 Mon Sep 17 00:00:00 2001 From: Reinaldy Rafli Date: Tue, 30 May 2023 21:19:50 +0700 Subject: [PATCH] Update errors/UnauthenticatedError.ts Co-authored-by: Dicha Zelianivan Arkana --- errors/UnauthenticatedError.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/errors/UnauthenticatedError.ts b/errors/UnauthenticatedError.ts index f02dc0b..da36482 100644 --- a/errors/UnauthenticatedError.ts +++ b/errors/UnauthenticatedError.ts @@ -1,5 +1,5 @@ export class UnauthenticatedError extends Error { - constructor(message?: string) { + constructor(message = "Unauthenticated") { super(message ?? "Unauthenticated"); } } \ No newline at end of file