Create Custom Exception Python Object Is Not Subscriptable In Python