Class: JSONSchema::ValidationErrorKind
- Inherits:
-
Object
- Object
- JSONSchema::ValidationErrorKind
- Defined in:
- sig/jsonschema.rbs
Overview
Type of validation error with contextual data.
Instance Method Summary collapse
- #inspect ⇒ String
-
#name ⇒ String
Keyword name that caused the error (e.g., "type", "required", "format").
-
#to_h ⇒ Hash[Symbol, untyped]
Convert to hash representation.
- #to_s ⇒ String
-
#value ⇒ Object
Associated value for the error (varies by error type).
Instance Method Details
#inspect ⇒ String
288 |
# File 'sig/jsonschema.rbs', line 288
def inspect: () -> String
|
#name ⇒ String
Keyword name that caused the error (e.g., "type", "required", "format").
280 |
# File 'sig/jsonschema.rbs', line 280
def name: () -> String
|
#to_h ⇒ Hash[Symbol, untyped]
Convert to hash representation.
286 |
# File 'sig/jsonschema.rbs', line 286
def to_h: () -> Hash[Symbol, untyped]
|
#to_s ⇒ String
289 |
# File 'sig/jsonschema.rbs', line 289
def to_s: () -> String
|
#value ⇒ Object
Associated value for the error (varies by error type).
283 |
# File 'sig/jsonschema.rbs', line 283
def value: () -> untyped
|