:: String -> Int -package:hledger-lib -package:base package:clash-prelude is:exact

Like error, but throwing an XException instead of an ErrorCall The ShowX methods print these error-values as "X"; instead of error'ing out with an exception.
Convert to an Int. It is implementation-dependent what fromEnum returns when applied to a value that is too large to fit in an Int.