Question: help in coding this function please Task 3 - PlaneError The PlaneError class extends the notion of an Exception (note the (Exception ) part of
help in coding this function please

Task 3 - PlaneError The PlaneError class extends the notion of an Exception (note the (Exception ) part of the class signature line). We're making our own exception that stores a single string message. class PlaneError (Exception) : Define the PlaneError class to be a child of Exception class (by putting Exception in the parentheses as shown). def _init_(self, msg) : Constructor. Store msg to an instance variable named msg. def _str_(self) : the human-centric representation of PlaneError is just self.msg If you skipped the exception-raising parts above, you should now go back and add those checks/raises. The test cases for PlaneError will go back and check if those parts correctly did so
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
