Error Prefix TE: Type Error
Errors related to types, such as mismatched types or shapes, unsupported operations, or values that cannot be converted to the expected type.
Errors
Code |
Title |
|---|---|
Dangling bound variable (internal error) |
|
|
|
|
|
|
|
Type mismatch |
|
Unbound variable |
|
Could not infer type |
|
Could not infer the element type of an empty list |
|
Could not infer the key/value types of an empty dict |
|
Incompatible element types in a list |
|
Incompatible entry types in a dict |
|
Incompatible types |
|
Expression is not a function |
|
Expected a dict |
|
Operation not supported for this type |
|
Binary operation not supported between these types |
|
Invalid dimension expression |
|
Value is not subscriptable |
|
Too many subscripts |
|
Tensor literal length differs from declared first dimension |
|
Invalid axis |
|
Duplicate axis |
|
Impossible state reached (internal error) |
|
Could not infer function supertype (internal error) |
|
Dangling free variable in pattern (internal error) |
|
Could not convert value |
|
Value out of range |
|
Jagged array depth undetermined |
|
Invalid array shape |
|
Invalid comparison operator for a constraint |
|
Ordering comparison on category labels |
|
Category label used in a constraint |
|
Non-scalar comparison operand |
|
Division by zero |
|
Invalid OMMX coefficient |
|
Value cannot be interpreted as an expression |
|
Tuple element cannot be interpreted as an expression |
|
Callable used as an expression takes no arguments |
|
Invalid axis specification |
|
Unexpected extra positional arguments to a reduction function |
|
Axis specified for the two-argument form of min/max |
|
Wrong number of arguments to min/max |
|
Wrong number of arguments to range |
|
Invalid placeholder data type |
|
Non-callable passed where a callable is expected |
|
Invalid dictionary key |
|
Boolean conversion of a modeling object |
|
Unsupported argument type for is_same |
|
Mismatched argument types for is_same |
|
Incomparable elements in is_same iterables |
|
Iterables of different lengths passed to is_same |
|
Unsupported operand for += |
|
Unsupported operand for -= |