parent
5efef24ded
commit
e3b853eca0
@ -0,0 +1,5 @@
|
||||
-module(errormatch).
|
||||
-export([iferror/1]).
|
||||
|
||||
iferror({success}) -> "Great Success!";
|
||||
iferror({error, Message}) -> "Error: " ++ Message.
|
Loading…
Reference in new issue