:: String -> Int -package:hledger-lib -package:speculate -package:monads-tf -package:ghc-lib-parser package:base -is:exact

Raises an error with a printf-specific prefix on the message string.
Deprecated: error appends the call stack now
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.