mirror of
https://github.com/AsamK/signal-cli
synced 2025-08-30 11:00:38 +00:00
14 lines
310 B
Java
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;
|
|
}
|
|
}
|