The _______ attribute of an exception object returns a tuple containing an exception type, a value, and a traceback object.

  • args
  • error_details
  • exception_info
  • traceback_info
The 'args' attribute of an exception object returns a tuple containing information about the exception, including the exception type, a value (exception message), and additional details if any. This information is useful for debugging and error handling.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *