From f743f2b9226e04b5ec1ad5dcbbe154d22e710071 Mon Sep 17 00:00:00 2001 From: Nicolas Date: Thu, 3 Oct 2024 17:34:29 -0300 Subject: [PATCH] Update index.ts --- apps/js-sdk/firecrawl/src/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/js-sdk/firecrawl/src/index.ts b/apps/js-sdk/firecrawl/src/index.ts index 2804148f..a6215037 100644 --- a/apps/js-sdk/firecrawl/src/index.ts +++ b/apps/js-sdk/firecrawl/src/index.ts @@ -204,7 +204,7 @@ export interface ErrorResponse { * Custom error class for Firecrawl. * Extends the built-in Error class to include a status code. */ -class FirecrawlError extends Error { +export class FirecrawlError extends Error { statusCode: number; constructor(message: string, statusCode: number) { super(message);