Development of an internal social media platform with personalised dashboards for students
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

invalid_exceptions_raised.txt 1.1KB

123456789101112
  1. nonstandard-exception:38:bad_case0:"Exception doesn't inherit from standard ""Exception"" class"
  2. raising-non-exception:38:bad_case0:Raising a new style class which doesn't inherit from BaseException
  3. raising-non-exception:42:bad_case1:Raising a new style class which doesn't inherit from BaseException
  4. nonstandard-exception:48:bad_case2:"Exception doesn't inherit from standard ""Exception"" class"
  5. raising-non-exception:48:bad_case2:Raising a new style class which doesn't inherit from BaseException
  6. raising-non-exception:52:bad_case3:Raising a new style class which doesn't inherit from BaseException
  7. notimplemented-raised:56:bad_case4:NotImplemented raised - should raise NotImplementedError
  8. raising-bad-type:60:bad_case5:Raising int while only classes or instances are allowed
  9. raising-bad-type:64:bad_case6:Raising NoneType while only classes or instances are allowed
  10. raising-non-exception:68:bad_case7:Raising a new style class which doesn't inherit from BaseException
  11. raising-non-exception:72:bad_case8:Raising a new style class which doesn't inherit from BaseException
  12. raising-non-exception:76:bad_case9:Raising a new style class which doesn't inherit from BaseException