public final class ErrorArgumentResolver extends Object implements ArgumentResolver<org.mule.runtime.api.message.Error>
ArgumentResolver which returns the Error in the CoreEvent associated to the given
ExecutionContext.
Notice that such Error could be null
| Constructor and Description |
|---|
ErrorArgumentResolver() |
| Modifier and Type | Method and Description |
|---|---|
Supplier<org.mule.runtime.api.message.Error> |
resolve(org.mule.runtime.extension.api.runtime.operation.ExecutionContext executionContext)
Resolves an argument's value from the given
executionContext |
public Supplier<org.mule.runtime.api.message.Error> resolve(org.mule.runtime.extension.api.runtime.operation.ExecutionContext executionContext)
ArgumentResolverexecutionContextresolve in interface ArgumentResolver<org.mule.runtime.api.message.Error>executionContext - an ExecutionContextCopyright © 2003–2019 MuleSoft, Inc.. All rights reserved.