Skip to main content

Warning.throw_on_warning

Warning.throw_on_warningvaluewarning_type

Group: Errors

Documentation

Throws the first matching warning (either all or of a specified type) as a data flow error.

Arguments

  • warning_type: The type to throw if attached to the value. Defaults to all warnings.