Return to homepage

DOSATO

Copyright © 2024 Sebastiaan Heins

4.4 Errors 41-50

E41: E_CANT_CONVERT_TO_INT

Can't convert the given value to an integer.

E42: E_CANT_CONVERT_TO_FLOAT

Can't convert the given value to a float.

E43: E_CANT_CONVERT_TO_OBJECT

You can't convert non object types to an object.

E44: E_CANT_CONVERT_TO_ARRAY

You can't convert non array types to an array.

E45: E_CANT_PERFORM_OPERATION

Can't perform the given operation.

E46: E_CANT_PERFORM_BINARY_OPERATION

Can't perform the given binary operation.

E47: E_CANT_PERFORM_UNARY_OPERATION

Can't perform the given unary operation.

E48: E_MATH_DOMAIN_ERROR

Math domain error.
For example, trying to get the square root of a negative number.

do sayln (1/0); // math domain error

E49: E_NOT_A_FUNCTION

The given variable is not a function.

E50: E_WRONG_NUMBER_OF_ARGUMENTS

The function is called with the wrong number of arguments.