Package | Description |
---|---|
com.suse.salt.netapi.errors | |
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
|
Modifier and Type | Method and Description |
---|---|
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(Consumer<? super SaltError> consumerError,
Consumer<? super R> consumerResult) |
<T> T |
Result.fold(Function<? super SaltError,? extends T> mapError,
Function<? super R,? extends T> mapResult) |
Constructor and Description |
---|
Result(Xor<SaltError,R> xor) |
Modifier and Type | Method and Description |
---|---|
static Optional<SaltError> |
SaltErrorUtils.deriveError(String saltOutput)
Based on the salt text output, derive particular
SaltError . |
Copyright © 2017. All rights reserved.