Skip to content

Utils.Class.WarningStore

DecentM edited this page Aug 27, 2024 · 57 revisions

@decentm/concourse-ts / Utils / WarningStore

Class: WarningStore

Constructors

new WarningStore()

new WarningStore(): WarningStore

Returns

WarningStore

Methods

add_warning()

add_warning(type, ...messages): WarningStore

Parameters

type: ValidationWarningType

• ...messages: unknown[]

Returns

WarningStore

Source

utils/warning-store/index.ts:27


copy_from()

copy_from(...warningStores): WarningStore

Parameters

• ...warningStores: WarningStore[]

Returns

WarningStore

Source

utils/warning-store/index.ts:58


get_warnings()

get_warnings(type?): ValidationWarning[]

Parameters

type?: ValidationWarningType

Returns

ValidationWarning[]

Source

utils/warning-store/index.ts:50


has_fatal()

has_fatal(): boolean

Returns

boolean

Source

utils/warning-store/index.ts:38


has_non_fatal()

has_non_fatal(): boolean

Returns

boolean

Source

utils/warning-store/index.ts:44

Clone this wiki locally