createWarning
createWarning(
category,message,options):IRWarning
Defined in: warnings.ts:23
Create a warning object.
Parameters
Section titled “Parameters”category
Section titled “category”Warning category
message
Section titled “message”string
Human-readable message
options
Section titled “options”Additional warning options
details?
Section titled “details?”Record<string, unknown>
field?
Section titled “field?”string
originalValue?
Section titled “originalValue?”unknown
severity?
Section titled “severity?”source?
Section titled “source?”string
transformedValue?
Section titled “transformedValue?”unknown
Returns
Section titled “Returns”Warning object