method warning
Contract
Return typewob
No input parameters.
Parameter kindDefault valueType
Other unkeyed argumentsopt with ekind of mixedwob
Water Contract
<method warning
  _other_unkeyed=opt=wob=ekind.mixed="_body"/>

See also: error

Prints the string "WARNING: " followed by any arguments and/or content to the Water console window, and returns the resulting string output. Arguments or content are usually strings but can be any objects.
Example: A simple warning
<warning "A warning message." />
"WARNING: A warning message."
Example: Multiple objects in a warning
<warning 4.<plus 1 /> " and "><plus 4 2/></warning>
"WARNING: 5 and 6"