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