Skip to content

EmitWarningOptions

[<Interface>]
type EmitWarningOptions =
    abstract member code: string option with get, set
    abstract member ctor: Function option with get, set
    abstract member detail: string option with get, set
    abstract member type: string option with get, set
    static member Create (?type: string, ?code: string, ?ctor: Function, ?detail: string) : EmitWarningOptions
AssemblyXantham.Fable.Node
Attributes[<Interface>]

Properties

abstract member code: string option with get, set

A unique identifier for the warning instance being emitted.

abstract member ctor: Function option with get, set

When warning is a string, ctor is an optional function used to limit the generated stack trace.

abstract member detail: string option with get, set

Additional text to include with the error.

abstract member type: string option with get, set

When warning is a string, type is the name to use for the type of warning being emitted.

Methods

static member Create (?type: string, ?code: string, ?ctor: Function, ?detail: string) : EmitWarningOptions