Class B2ErrorStructure
- java.lang.Object
-
- com.backblaze.b2.client.structures.B2ErrorStructure
-
public class B2ErrorStructure extends java.lang.Object
This structure describes the json that's returned by b2 for errors.
-
-
Constructor Summary
Constructors Constructor Description B2ErrorStructure(int status, java.lang.String code, java.lang.String message)
-
-
-
Field Detail
-
status
public final int status
The HTTP status code being returned. This is redundant with the status code in the header of the response, but it's handy to have it here, to.
-
code
public final java.lang.String code
A single token that indicates the cause of the error. If you need to check for specific error returns, use this, not the message.
-
message
public final java.lang.String message
A human-readable string giving details (if available) about what went wrong.
-
-