Uses of Interface
com.suse.salt.netapi.errors.SaltError
-
Packages that use SaltError Package Description com.suse.salt.netapi.errors com.suse.salt.netapi.parser com.suse.salt.netapi.results com.suse.salt.netapi.utils -
-
Uses of SaltError in com.suse.salt.netapi.errors
Classes in com.suse.salt.netapi.errors that implement SaltError Modifier and Type Class Description class
FunctionNotAvailable
Salt error when trying to execute a function that does not existclass
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 supportedclass
SaltSSHError
Interface for salt ssh specific errors -
Uses of SaltError in com.suse.salt.netapi.parser
Methods in com.suse.salt.netapi.parser that return types with arguments of type SaltError Modifier and Type Method 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. -
Uses of SaltError in com.suse.salt.netapi.results
Fields in com.suse.salt.netapi.results with type parameters of type SaltError Modifier and Type Field Description private Xor<SaltError,R>
Result. xor
Methods in com.suse.salt.netapi.results that return types with arguments of type SaltError Modifier and Type Method Description java.util.Optional<SaltError>
Result. error()
Xor<SaltError,R>
Result. toXor()
Methods in com.suse.salt.netapi.results with parameters of type SaltError Modifier and Type Method Description static <T> Result<T>
Result. error(SaltError e)
Method parameters in com.suse.salt.netapi.results with type arguments of type SaltError Modifier and Type Method 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 parameters in com.suse.salt.netapi.results with type arguments of type SaltError Constructor Description Result(Xor<SaltError,R> xor)
-
Uses of SaltError in com.suse.salt.netapi.utils
Methods in com.suse.salt.netapi.utils that return types with arguments of type SaltError Modifier and Type Method Description static java.util.Optional<SaltError>
SaltErrorUtils. deriveError(java.lang.String saltOutput)
Based on the salt text output, derive particularSaltError
.
-