Use the proper error code