Never use a bare raise and always use a specific exception. Using a specific exception helps you distinguish errors in your program and have appropriate error handling code.
Non-Compliant Code Examples
defmyfunc():raise# should use specific exceptioniffoo:raiseelse:func1()raiseforvinlist:do_something()raise