redtt icon indicating copy to clipboard operation
redtt copied to clipboard

Informative error messages

Open jonsterling opened this issue 7 years ago • 0 comments

I'm mostly meaning "informative for the developer" than for the user at this point---the problem is that in many parts of the code, we just ask whether something typechecks or is equal, and we don't remember the reason why it failed, so I get this inscrutable error that is impossible to debug.

I'd like to have some lightweight way to at least remember what went wrong. A sum type instead of booleans would be a start.

jonsterling avatar Jun 07 '18 11:06 jonsterling