public class SphereErrorResponse
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
java.util.List<SphereError> |
getErrors()
The individual errors.
|
java.lang.String |
getMessage()
The message of the first error, for convenience.
|
int |
getStatusCode()
The HTTP status code.
|
static SphereErrorResponse |
of(int statusCode) |
java.lang.String |
toString() |
public int getStatusCode()
public java.lang.String getMessage()
@Nonnull public java.util.List<SphereError> getErrors()
public java.lang.String toString()
toString
in class java.lang.Object
public static SphereErrorResponse of(int statusCode)