Uses of Enum Class
jsonvalues.spec.ERROR_CODE
Packages that use ERROR_CODE
Package
Description
The `jsonvalues.spec` package provides classes and interfaces for defining and working with JSON specifications (specs) and parsers.
-
Uses of ERROR_CODE in jsonvalues.spec
Fields in jsonvalues.spec declared as ERROR_CODEModifier and TypeFieldDescriptionfinal ERROR_CODE
SpecError.errorCode
The error code indicating the type of validation error.Methods in jsonvalues.spec that return ERROR_CODEModifier and TypeMethodDescriptionJsError.error()
Returns the value of theerror
record component.static ERROR_CODE
Returns the enum constant of this class with the specified name.static ERROR_CODE[]
ERROR_CODE.values()
Returns an array containing the constants of this enum class, in the order they are declared.Constructors in jsonvalues.spec with parameters of type ERROR_CODEModifierConstructorDescriptionJsError
(JsValue value, ERROR_CODE error) Creates an instance of aJsError
record class.