Skip to content

Instantly share code, notes, and snippets.

@smtlaissezfaire
Created March 9, 2009 20:58
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save smtlaissezfaire/76474 to your computer and use it in GitHub Desktop.
Save smtlaissezfaire/76474 to your computer and use it in GitHub Desktop.
--------------------------------------- Class: StandardError < Exception
Descendents of class +Exception+ are used to communicate between
+raise+ methods and +rescue+ statements in +begin/end+ blocks.
+Exception+ objects carry information about the exception---its
type (the exception's class name), an optional descriptive string,
and optional traceback information. Programs may subclass
+Exception+ to add additional information.
------------------------------------------------------------------------
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment