A renderer to format error messages resulting from ISO8601 parsing errors.
At this time, there is a renderer, renderText, to render a fixed-font message to, say, a terminal screen. This renderer strives to output the friendly useful error message that elm is famous for.
A convenience function to auto-wrap long strings
Use this method to appropriately wrap the error string returned
from renderText above.
-- \n inserted at 72nt position coz is right margin.
reflow "Expecting the value 29 to be in the range 1 to 28 for the specified year, 1991, and month, 2."
--> "Expecting the value 29 to be in the range 1 to 28 for the specified" ++ "\n" ++ "year, 1991, and month, 2."
Invoking the renderer. This returns an 'elm compiler-style formatted' error string