Fix wrong error code class.