Modifier and Type | Field and Description |
---|---|
private java.lang.String |
message |
private int |
retcode |
Constructor and Description |
---|
SaltSSHError(int retcode,
java.lang.String message) |
Modifier and Type | Method and Description |
---|---|
<T> T |
fold(java.util.function.Function<FunctionNotAvailable,? extends T> fnNotAvail,
java.util.function.Function<ModuleNotSupported,? extends T> modNotSupported,
java.util.function.Function<JsonParsingError,? extends T> jsonError,
java.util.function.Function<GenericError,? extends T> generic,
java.util.function.Function<SaltSSHError,? extends T> saltSSHError) |
java.lang.String |
getMessage() |
int |
getRetcode() |
java.lang.String |
toString() |
public java.lang.String toString()
toString
in class java.lang.Object
public int getRetcode()
public java.lang.String getMessage()
public <T> T fold(java.util.function.Function<FunctionNotAvailable,? extends T> fnNotAvail, java.util.function.Function<ModuleNotSupported,? extends T> modNotSupported, java.util.function.Function<JsonParsingError,? extends T> jsonError, java.util.function.Function<GenericError,? extends T> generic, java.util.function.Function<SaltSSHError,? extends T> saltSSHError)