Fixed ordering of error responses in gharial