public final class ErrorUtils
extends java.lang.Object
CloudError instances from response objects.| Modifier and Type | Method and Description |
|---|---|
static void |
initialize(Retrofit retrofit)
Initializes static retrofit instance.
|
static CloudError |
parseError(<any> response)
Extracts an error from the response object.
|
public static void initialize(Retrofit retrofit)
retrofit - the retrofit instance.public static CloudError parseError(<any> response)
response - the response object.CloudError.