mdfetch API Documentation - v1.0.0
    Preparing search index...

    Class ReaderError

    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);
    

    Hierarchy

    • Error
      • ReaderError
    Index

    Constructors

    Properties

    Constructors

    • Creates a new ReaderError.

      Parameters

      • message: string

        Error message describing what went wrong

      • OptionaloriginalError: Error

        Original error that caused this error (if any)

      Returns ReaderError

    Properties

    originalError?: Error

    Original error that caused this error (if any)