Fraci
    Preparing search index...

    Class FraciError

    Custom error class for the Fraci library.

    This class encapsulates errors that occur during fractional indexing operations, providing structured error information through error codes and descriptive messages. Use the utility functions isFraciError and getFraciErrorCode to safely work with these errors.

    Hierarchy

    • Error
      • FraciError
    Index

    Constructors

    Properties

    cause?: unknown

    The specific error code identifying the type of error.

    message: string

    A descriptive message providing details about the error condition.

    name: "FraciError"
    stack?: string
    prepareStackTrace?: (err: Error, stackTraces: CallSite[]) => any

    Optional override for formatting stack traces

    stackTraceLimit: number

    The maximum number of stack frames to capture.

    Methods

    • Create .stack property on a target object

      Parameters

      • targetObject: object
      • OptionalconstructorOpt: Function

      Returns void

    • Create .stack property on a target object

      Parameters

      • targetObject: object
      • OptionalconstructorOpt: Function

      Returns void

    • Parameters

      • value: unknown

      Returns value is Error