Allow control over whether errors are encoded or not