Skip to content

Instantly share code, notes, and snippets.

@jackdempsey
Created September 10, 2008 21:42
Show Gist options
  • Save jackdempsey/10081 to your computer and use it in GitHub Desktop.
Save jackdempsey/10081 to your computer and use it in GitHub Desktop.
>> class DatabaseError < StandardError; end
=> nil
>> DatabaseError
=> DatabaseError
>> raise DatabaseError, "Your db is screwed"
DatabaseError: Your db is screwed
from (irb):4
>>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment