Class: JSONSchema::ValidationErrorKind

Inherits:
Object
  • Object
show all
Defined in:
sig/jsonschema.rbs

Overview

Type of validation error with contextual data.

Instance Method Summary collapse

Instance Method Details

#inspectString

Returns:

  • (String)


453
# File 'sig/jsonschema.rbs', line 453

def inspect: () -> String

#nameString

Keyword name that caused the error (e.g., "type", "required", "format").

Returns:

  • (String)


445
# File 'sig/jsonschema.rbs', line 445

def name: () -> String

#to_hHash[Symbol, untyped]

Convert to hash representation.

Returns:

  • (Hash[Symbol, untyped])


451
# File 'sig/jsonschema.rbs', line 451

def to_h: () -> Hash[Symbol, untyped]

#to_sString

Returns:

  • (String)


454
# File 'sig/jsonschema.rbs', line 454

def to_s: () -> String

#valueObject

Associated value for the error (varies by error type).

Returns:

  • (Object)


448
# File 'sig/jsonschema.rbs', line 448

def value: () -> untyped