public final class ExtensionErrorUtils extends Object
This class IS NOT part of the API. To be used by the Mule Runtime only
| Modifier and Type | Method and Description |
|---|---|
static Optional<org.mule.runtime.api.meta.model.error.ErrorModel> |
getValidationError(Collection<org.mule.runtime.api.meta.model.error.ErrorModel> errors)
Traverses the
errors collection and returns the first item which represents a MuleErrors.VALIDATION error |
public static Optional<org.mule.runtime.api.meta.model.error.ErrorModel> getValidationError(Collection<org.mule.runtime.api.meta.model.error.ErrorModel> errors)
errors collection and returns the first item which represents a MuleErrors.VALIDATION errorerrors - a set of ErrorModelErrorModelCopyright © 2022 MuleSoft, Inc.. All rights reserved.