Update index.ts

This commit is contained in:
Nicolas 2024-10-03 17:34:29 -03:00
parent 489a643391
commit f743f2b922

View File

@ -204,7 +204,7 @@ export interface ErrorResponse {
* Custom error class for Firecrawl. * Custom error class for Firecrawl.
* Extends the built-in Error class to include a status code. * Extends the built-in Error class to include a status code.
*/ */
class FirecrawlError extends Error { export class FirecrawlError extends Error {
statusCode: number; statusCode: number;
constructor(message: string, statusCode: number) { constructor(message: string, statusCode: number) {
super(message); super(message);