Stone.js API
    Preparing search index...

    Raised for a setup mistake, so a misconfigured application never looks like a failed delivery.

    The distinction earns its place here: a failed delivery is retried, and a channel that answered "provider unavailable" to "no channel named that" would be retried forever, on work that cannot succeed.

    Hierarchy

    • IntegrationError
      • NotificationConfigurationError
    Index
    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.