Expose error_code of ResponseError