About 79,200 results
Open links in new tab
  1. TypeError - JavaScript | MDN

    Jul 10, 2025 · The TypeError object represents an error when an operation could not be performed, typically (but not exclusively) when a value is not of the expected type.

  2. Handling TypeError Exception in Python - GeeksforGeeks

    Aug 22, 2025 · In Python, a TypeError occurs when an operation or function is applied to an object of an inappropriate type, such as adding a string and an integer. Although Python is dynamically typed, it …

  3. I'm getting a TypeError. How do I fix it? - Stack Overflow

    A valid, non-duplicate question about a TypeError will ask why a specific, minimal, reproducible example causes a TypeError, and explain what you expected to happen instead and why.

  4. Built-in Exceptions — Python 3.14.6 documentation

    2 days ago · Passing arguments of the wrong type (e.g. passing a list when an int is expected) should result in a TypeError, but passing arguments with the wrong value (e.g. a number outside expected …

  5. TypeError () constructor - JavaScript - MDN

    Jul 10, 2025 · Note: TypeError () can be called with or without new. Both create a new TypeError instance.

  6. Python TypeError — What It Is and How to Fix It | OpenPython

    Learn what causes Python TypeError, see real examples with fixes, and understand how Python's type system works. Beginner-friendly guide.

  7. 8. Errors and Exceptions — Python 3.14.6 documentation

    2 days ago · Exceptions come in different types, and the type is printed as part of the message: the types in the example are ZeroDivisionError, NameError and TypeError. The string printed as the …

  8. TypeError | Python’s Built-in Exceptions – Real Python

    TypeError is a built-in exception that occurs when an operation or function is applied to an object of inappropriate type. For example, trying to add a string to an integer will raise a TypeError because …

  9. Python TypeError Exception - W3Schools

    The TypeError exception occurs if an operation tries to perform an action with an unexpected data type. You can handle the TypeError in a try...except statement, see the example below.

  10. TypeError - JavaScript Documentation

    A TypeError may be thrown when: an operand or argument passed to a function is incompatible with the type expected by that operator or function; or when attempting to modify a value that cannot be …