Class SDKInternalException

Represents an unexpected internal SDK error condition.

This exception type is used exclusively inside the SDK to signal failures caused by bugs, invalid internal state, or violated invariants. It is never intended to be thrown directly to SDK consumers.

Instead, public-facing errors should use SDKResult, so that user code receives structured, predictable failure information.

Throwing an SDKInternalException indicates a logic error in the SDK itself and should generally be considered a development-time or diagnostic event.

Hierarchy

  • Error
    • SDKInternalException

Constructors

Properties

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

Optional override for formatting stack traces

stackTraceLimit: number

Methods

  • Create .stack property on a target object

    Parameters

    • targetObject: object
    • OptionalconstructorOpt: Function

    Returns void