dart · dart/ArgumentError
ArgumentError
ArgumentError
Thrown when a function or method is called with an invalid argument.
Also defined in
- elixir ArgumentError Raised when an argument passed to a function is invalid, e.g. calling String.to_atom/1 with a non-binary argument.
- julia Invalid Argument A function received an argument that is of the correct type but has an invalid value (e.g. a negative length, an empty collection where one element is required). The error message describes the specific constraint that was violated.
- ruby ArgumentError Raised when a method is called with an incorrect number of arguments, or with an argument of the wrong type or value.
References
In this namespace
— start of namespace —
next → AssertionError AssertionError