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
566 |
# File 'sig/jsonschema.rbs', line 566
def inspect: () -> String
|
#name ⇒ String
Keyword name that caused the error (e.g., "type", "required", "format").
558 |
# File 'sig/jsonschema.rbs', line 558
def name: () -> String
|
#to_h ⇒ Hash[Symbol, untyped]
Convert to hash representation.
564 |
# File 'sig/jsonschema.rbs', line 564
def to_h: () -> Hash[Symbol, untyped]
|
#to_s ⇒ String
567 |
# File 'sig/jsonschema.rbs', line 567
def to_s: () -> String
|
#value ⇒ Object
Associated value for the error (varies by error type).
561 |
# File 'sig/jsonschema.rbs', line 561
def value: () -> untyped
|