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