~statianzo/sevenlangs

e3b853eca09be59c80c61be2e076eb927432c23e — Jason Staten 1 year, 10 months ago 5efef24
matching
1 files changed, 5 insertions(+), 0 deletions(-)

A erlang/errormatch.erl
A erlang/errormatch.erl => erlang/errormatch.erl +5 -0
@@ 0,0 1,5 @@
-module(errormatch).
-export([iferror/1]).

iferror({success}) -> "Great Success!";
iferror({error, Message}) -> "Error: " ++ Message.