Created
February 17, 2017 02:15
-
-
Save blackode/1101281ad40e736925ed20aa5a53b7e6 to your computer and use it in GitHub Desktop.
Custom Errors
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
defmodule BugError do | |
defexception message: "BUG BUG .." # message is the default | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment