`~s` fails if `ErrorName` isn't atom, string, binary. This can't be reached, but if something reached here we can't assume formattable string any more. Although to see whole term printed, `~w` would be more suitable but that could break the log if it had been huge.