signal-cli/src/main/java/org/asamk/signal/jsonrpc/JsonRpcException.java
AsamK a8bbdb54d0 Implement jsonRpc command
Co-authored-by: technillogue <technillogue@gmail.com>

Closes #668
2021-08-10 18:16:50 +02:00

14 lines
310 B
Java

package org.asamk.signal.jsonrpc;
public class JsonRpcException extends Exception {
private final JsonRpcResponse.Error error;
public JsonRpcException(final JsonRpcResponse.Error error) {
this.error = error;
}
public JsonRpcResponse.Error getError() {
return error;
}
}