MCPcopy Create free account
hub / github.com/Dark-Brain07/PayForApi / getInstance

Method getInstance

lib/server/errorHandler.ts:6–9  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

4 statusCode: number;
5 message: string;
6}
7
8export class ErrorHandler {
9 private static instance: ErrorHandler;
10 private constructor() {}
11 public static getInstance(): ErrorHandler {
12 if (!ErrorHandler.instance) ErrorHandler.instance = new ErrorHandler();

Callers 1

errorHandler.tsFile · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected