import com.androidnetworking.common.ANConstants;
public class ANError extends Exception {
private ANData data;</BUG>
private String errorBody;
private int errorCode = 0;
<BUG>private String errorDetail;
public ANError() {</BUG>
}
<BUG>public ANError(ANData data) {
this.data = data;
}</BUG>
public ANError(String message) {

import com.androidnetworking.common.ANConstants;
import okhttp3.Response;
public class ANError extends Exception {
private String errorBody;
private int errorCode = 0;
private String errorDetail;
private Response response;
public ANError() {
}
public ANError(Response response) {
this.response = response;
}
public ANError(String message) {
