public enum JsonError extends Enum<JsonError> implements org.mule.runtime.extension.api.error.ErrorTypeDefinition<JsonError>
| Enum Constant and Description |
|---|
INVALID_INPUT_JSON
The input document is not a valid JSON
|
INVALID_SCHEMA
The supplied schema is invalid
|
SCHEMA_NOT_FOUND
The schema could not be found
|
SCHEMA_NOT_HONOURED
The input JSON document does not honour its schema
|
| Modifier and Type | Method and Description |
|---|---|
Optional<org.mule.runtime.extension.api.error.ErrorTypeDefinition<? extends Enum<?>>> |
getParent() |
static JsonError |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static JsonError[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final JsonError INVALID_INPUT_JSON
public static final JsonError SCHEMA_NOT_HONOURED
public static final JsonError SCHEMA_NOT_FOUND
public static final JsonError INVALID_SCHEMA
public static JsonError[] values()
for (JsonError c : JsonError.values()) System.out.println(c);
public static JsonError valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullCopyright © 2024 MuleSoft, Inc.. All rights reserved.