Skip to content

Supercharge your AI agents with data from the web and beyond. Building the library for superintelligence. 🔥

Update index.ts

Nicolasf743f2b9226e
diff --git a/apps/js-sdk/firecrawl/src/index.ts b/apps/js-sdk/firecrawl/src/index.ts
index 2804148f3..a62150373 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);