| Package | Description |
|---|---|
| com.suse.salt.netapi.errors | |
| com.suse.salt.netapi.parser | |
| com.suse.salt.netapi.results | |
| com.suse.salt.netapi.utils |
| Modifier and Type | Class and Description |
|---|---|
class |
FunctionNotAvailable
Salt error when trying to execute a function that does not exist
|
class |
GenericError
Catch all error that contains only a error messages.
|
class |
JsonParsingError
Json parsing error that contains the rest of the json which could not be parsed.
|
class |
ModuleNotSupported
Error that happens if a modules is not supported
|
class |
SaltSSHError
Interface for salt ssh specific errors
|
| Modifier and Type | Method and Description |
|---|---|
private <R> com.google.gson.TypeAdapter<Xor<SaltError,R>> |
XorTypeAdapterFactory.errorAdapter(com.google.gson.TypeAdapter<R> innerAdapter)
Creates a Xor adapter specifically for the case in which the left side is a
SaltError.
|
| Modifier and Type | Field and Description |
|---|---|
private Xor<SaltError,R> |
Result.xor |
| Modifier and Type | Method and Description |
|---|---|
java.util.Optional<SaltError> |
Result.error() |
Xor<SaltError,R> |
Result.toXor() |
| Modifier and Type | Method and Description |
|---|---|
static <T> Result<T> |
Result.error(SaltError e) |
| Modifier and Type | Method and Description |
|---|---|
void |
Result.consume(java.util.function.Consumer<? super SaltError> consumerError,
java.util.function.Consumer<? super R> consumerResult) |
<T> T |
Result.fold(java.util.function.Function<? super SaltError,? extends T> mapError,
java.util.function.Function<? super R,? extends T> mapResult) |
| Constructor and Description |
|---|
Result(Xor<SaltError,R> xor) |
| Modifier and Type | Method and Description |
|---|---|
static java.util.Optional<SaltError> |
SaltErrorUtils.deriveError(java.lang.String saltOutput)
Based on the salt text output, derive particular
SaltError. |