-
- All Implemented Interfaces:
-
co.electriccoin.lightwallet.client.model.Response
public interface Response.Failure<T extends Object> implements Response<T>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classResponse.Failure.ConnectionThe client was not able to communicate with the server.
public final classResponse.Failure.OverTorThis exception comes from the failed communication with server using the Rust internal networking communication over Tor.
public classResponse.Failure.ServerThe server did respond and returned an error.
public classResponse.Failure.ClientA failure occurred on the client, such as parsing a response failed.
-
Method Summary
Modifier and Type Method Description ResponseExceptiontoThrowable()Use this function to convert Failure into Throwable object. abstract IntegergetCode()abstract StringgetDescription()abstract ExceptiongetCause()-
-
Method Detail
-
toThrowable
ResponseException toThrowable()
Use this function to convert Failure into Throwable object.
-
getDescription
abstract String getDescription()
-
-
-
-