Uses of Class
com.easypost.exception.API.UnknownApiError
Package
Description
Classes for handling requests and responses to the EasyPost API.
-
Uses of UnknownApiError in com.easypost.http
Modifier and TypeMethodDescriptionprotected static void
Requestor.handleAPIError
(String rBody, int rCode) Handles API error based on the error status code.static <T> T
Requestor.request
(Requestor.RequestMethod method, String endpoint, Map<String, Object> params, Class<T> clazz, EasyPostClient client) Send an HTTP request to EasyPost.static <T> T
Requestor.request
(Requestor.RequestMethod method, String endpoint, Map<String, Object> params, Class<T> clazz, EasyPostClient client, String apiVersion) Send an HTTP request to EasyPost.