added support for printing C strings as errors