Hi guys,

I have difficulty understanding how GHC determines what kind of error message to return. Could you help explain a bit ? Thanks !

The code can be accessed here

My question is
Why does calling `settleDown 9` return different error message from `settleDown "sting"` ?
 
Thanks,
David