Stone.js API
    Preparing search index...

    Custom error for Integration layer operations.

    Hierarchy

    • RuntimeError
      • MethodNotAllowedError
    Index
    • Parameters

      • message: string
      • options: ErrorOptions = {}

      Returns MethodNotAllowedError

    cause?: Error
    code?: string
    metadata?: unknown
    • Converts the error to a formatted string representation.

      Parameters

      • Optionalmultiline: boolean

        Determine if output value must be multiline or not.

      Returns string

      A formatted error string.

    • Create a RuntimeError.

      Type Parameters

      • T extends RuntimeError = RuntimeError

      Parameters

      • message: string
      • Optionaloptions: ErrorOptions

        The options to create a RuntimeError.

      Returns T

      A new RuntimeError instance.