Custom error class for reader-related errors. Wraps errors that occur during the URL reading and conversion process.
throw new ReaderError('Failed to extract content', originalError); Copy
throw new ReaderError('Failed to extract content', originalError);
Creates a new ReaderError.
Error message describing what went wrong
Optional
Original error that caused this error (if any)
Custom error class for reader-related errors. Wraps errors that occur during the URL reading and conversion process.
Example