StartupFailedReason
このコンテンツはまだ日本語訳がありません。
Defined in: src/CoordinatedStartup.ts:31
The reason a coordinated-shutdown run carries when the system goes down because its startup failed.
A shutdown task can tell it apart from a signal or a terminate() and read
what failed — one that would flush a cache startup never filled, or report
the failure somewhere the log does not reach, has a use for both.
Extends
Section titled “Extends”Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”new StartupFailedReason(
phase,task,cause):StartupFailedReason
Defined in: src/CoordinatedStartup.ts:34
Parameters
Section titled “Parameters”string
The phase whose task failed.
string
The task that failed.
unknown
What the task threw or rejected with, or the error its phase’s budget ran out with.
Returns
Section titled “Returns”StartupFailedReason
Overrides
Section titled “Overrides”Properties
Section titled “Properties”
readonlycause:unknown
Defined in: src/CoordinatedStartup.ts:40
What the task threw or rejected with, or the error its phase’s budget ran out with.
readonlyname:"StartupFailedReason"='StartupFailedReason'
Defined in: src/CoordinatedStartup.ts:32
Overrides
Section titled “Overrides”
readonlyphase:string
Defined in: src/CoordinatedStartup.ts:36
The phase whose task failed.
readonlytask:string
Defined in: src/CoordinatedStartup.ts:38
The task that failed.
Methods
Section titled “Methods”toString()
Section titled “toString()”toString():
string
Defined in: src/CoordinatedStartup.ts:45
Returns
Section titled “Returns”string
