:: String -> Int package:hledger

Alias for realLength.
Like strWidth, but also strips ANSI escape sequences before calculating the width. This is no longer used in code, as widths are calculated before adding ANSI escape sequences, but is being kept around for now.
Raises an error with a printf-specific prefix on the message string.
A version of errorWithoutStackTrace that adds a usage hint.
Simpler alias for errorWithoutStackTrace
Synonym for error. Used for instances where the program has decided to exit because of invalid user input, or the user pressed quit etc. This function allows error to be reserved for programmer errors.