Skip to main content

Any.throw_on_warning

throw_on_warningwarning_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.