Python – Error Typesauto_admin / No Comments
Raised when the assert statement fails.
Raised on the attribute assignment or reference fails.
Raised when the input () function hits the end-of-file condition. When a floating-point operation fails.
Raised when a generator is close () method is called.
Raised when the imported module is not found.
Raised when the index of a sequence is out of range.
Raised when a key is not found in a dictionary.
Raised when the user hits the interrupt key (Ctrl+c or delete).
Raised when an operation runs out of memory.
Raised when a variable is not found in the local or global scope.
Raised by abstract methods.
Raised when a system operation causes a system-related error.
Raised when the result of an arithmetic operation is too large to be represented.
Raised when a weak reference proxy is used to access a garbage-collected referent.
Raised when an error does not fall under any other category.
Raised by the next () function to indicate that there is no further item to be returned by the iterator.
Raised by the parser when a syntax error is encountered.
Raised when there is an incorrect indentation.
Raised when the indentation consists of inconsistent tabs and spaces.
Raised when the interpreter detects the internal error.
Raised by the sys.exit() function.
Raised when a function or operation is applied to an object of an incorrect type. Unbound
Raised when a reference is made to a local variable in a function or method, but no value has been bound to that variable.
Raised when a Unicode-related encoding or decoding error occurs.
Raised when a Unicode-related error occurs during encoding.
Raised when a Unicode-related error occurs during decoding.
Raised when a Unicode-related error occurs during translation.
Raised when a function gets an argument of correct type but improper value.
Raised when the second operand of a division or modulo operation is zero.
Posted in: news