Don't write the Exception/Throwable object on the wire on error
Minor optimization for encoding Strings