Good notes posted by patelc75
RSS feed
3 thanks
Example of raising a custom exception
Create custom exception<br> <pre> class PersonalException < Exception end </pre>
Raise the exception<br> <pre> raise PersonalException.new, “message” </pre>