Backstage
    Preparing search index...

    Interface PluginStartupResult

    Result of a plugin startup attempt.

    interface PluginStartupResult {
        beginAt?: Date;
        failure?: { allowed: boolean; error: Error };
        modules: ModuleStartupResult[];
        pluginId: string;
        resultAt: Date;
    }
    Index
    beginAt?: Date

    The time that the plugin's init function was invoked, i.e. after its dependencies had been resolved. This is not defined if the plugin failed before reaching initialization, or if no init function was registered.

    failure?: { allowed: boolean; error: Error }

    If the startup failed, this contains information about the failure.

    Type Declaration

    • allowed: boolean

      Whether the failure was allowed.

    • error: Error

      The error that occurred during startup, if any.

    Results for all modules belonging to this plugin.

    pluginId: string

    The ID of the plugin.

    resultAt: Date

    The time the plugin startup was completed.