Result of loading a single startup class

interface LoadResult {
    className: string;
    durationMs: number;
    error?: Error;
    severity?: "error" | "fatal" | "warn" | "silent";
    success: boolean;
}

Properties

className: string

Name of the class that was loaded

durationMs: number

How long the load took in milliseconds

error?: Error

Error that occurred during loading (if any)

severity?: "error" | "fatal" | "warn" | "silent"

Severity level from the registration options

success: boolean

Whether the load was successful