@dxos/app-framework - v0.9.0
    Preparing search index...

    Class PluginTimeoutError

    Tagged error raised when a plugin exceeds its configured load or activation timeout. The plugin manager records the failure on the failed atom and auto-disables the plugin so that one stuck remote does not stall app boot. context.id is the plugin id, context.phase is 'load' or 'activation'.

    Hierarchy

    • {
          cause?: unknown;
          context: Record<string, unknown>;
          name: "PluginTimeoutError";
          stack?: string;
          get _tag(): Name;
          get message(): string;
      }
      • PluginTimeoutError
    Index

    Constructors

    • Parameters

      • Optionaloptions: BaseErrorOptions

      Returns PluginTimeoutError

    Properties

    cause?: unknown
    context: Record<string, unknown>
    name: "PluginTimeoutError"
    stack?: string
    name: "PluginTimeoutError"
    prepareStackTrace?: (err: Error, stackTraces: CallSite[]) => any
    stackTraceLimit: number

    Accessors

    • get _tag(): Name

      Returns Name

    • get message(): string

      Fallback message.

      Returns string

    Methods

    • Parameters

      • targetObject: object
      • OptionalconstructorOpt: Function

      Returns void

    • Type Parameters

      • Name extends string = string

      Parameters

      • name: Name
      • Optionalmessage: string

      Returns any

    • Parameters

      • error: unknown

      Returns error is BaseError<string>

    • Parameters

      • error: unknown

      Returns error is Error

    • Parameters

      • Optionaloptions: Omit<BaseErrorOptions, "cause"> & { ifTypeDiffers?: boolean }

      Returns (
          error: unknown,
      ) => {
          cause?: unknown;
          context: Record<string, unknown>;
          name: "PluginTimeoutError";
          stack?: string;
          get _tag(): Name;
          get message(): string;
      }