Response < T > function ( int arg0 , ResponseBody arg1 ) { if ( arg0 < 400 ) throw new IllegalArgumentException ( "srini_string" + arg0 ) ; return error ( arg1 , new okhttp3 . Response . Builder ( ) . arg0 ( arg0 ) . protocol ( Protocol . HTTP_1_1 ) . request ( new Request . Builder ( ) . url ( "srini_string" ) . build ( ) ) . build ( ) ) ; }
create a synthetic error response with an http status code of code and body as the error body . concode_field_sep okhttp3.Response rawResponse concode_elem_sep ResponseBody errorBody concode_elem_sep T body concode_field_sep Headers headers concode_elem_sep int code concode_elem_sep Response<T> success concode_elem_sep Response<T> success concode_elem_sep ResponseBody errorBody concode_elem_sep okhttp3.Response raw concode_elem_sep String message concode_elem_sep T body concode_elem_sep boolean isSuccess