A modern and elegant dashboard for network traffic visualization and analysis.
export class ApiError extends Error { constructor( message: string, public status: number, public data?: unknown ) { super(message); this.name = "ApiError"; } } export function isApiError(error: unknown): error is ApiError { return error instanceof ApiError; }