Make error code nullable.