public final class ErrorMappingUtils extends Object
error-mapping in operations.| Modifier and Type | Method and Description |
|---|---|
static void |
forEachErrorMappingDo(org.mule.runtime.ast.api.ComponentAst operation,
Consumer<List<org.mule.runtime.extension.api.error.ErrorMapping>> action)
For the given AST node representing an operation, execute the given
action for each error mapping it has. |
public static void forEachErrorMappingDo(org.mule.runtime.ast.api.ComponentAst operation,
Consumer<List<org.mule.runtime.extension.api.error.ErrorMapping>> action)
action for each error mapping it has.operation - the operation from which to iterate the error mappings.action - what is executed for every error mapping.Copyright © 2003–2024 MuleSoft, Inc.. All rights reserved.