Structs§
- Error
- An error that crosses the FFI boundary, with a kind, a message and a backtrace.
- Error
Kind - The kind of an
Error, such asValueError, matching the exception type that Python raises. - Error
Obj - The object behind an
Error: its kind, message, backtrace, cause and context.
Constants§
- ATTRIBUTE_
ERROR AttributeError: a field, method or attribute does not exist.- INDEX_
ERROR IndexError: an index is out of range.- INTERNAL_
ERROR InternalError: a bug, such as a broken invariant or a caught panic.- KEY_
ERROR KeyError: a map has no such key.- OVERFLOW_
ERROR OverflowError: a result does not fit its type.- RUNTIME_
ERROR RuntimeError: an operation failed for another reason.- TYPE_
ERROR TypeError: a value has the wrong type.- VALUE_
ERROR ValueError: an argument has the right type but a bad value.- ZERO_
DIVISION_ ERROR ZeroDivisionError: a division or remainder by zero.