mirror of
https://git.mirrors.martin98.com/https://github.com/mendableai/firecrawl
synced 2025-06-22 04:22:07 +08:00
Update index.ts
This commit is contained in:
parent
489a643391
commit
f743f2b922
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user