java.lang.Object
com.hedera.hashgraph.sdk.MirrorNodeErrorMessage
Turns a mirror node error response into something worth putting in an exception message.
Prefers the node's own envelope — _status.messages[].detail, then
_status.messages[].message — over dumping the body, and truncates whatever is left.
-
Method Summary
Modifier and TypeMethodDescription(package private) static Stringdescribe(HttpResponse response) Describe an error response.
-
Method Details
-
describe
Describe an error response.- Parameters:
response- the response the mirror node sent- Returns:
- a short description, never null and never empty
-