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)


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

def inspect: () -> String

#nameString

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

Returns:

  • (String)


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

def name: () -> String

#to_hHash[Symbol, untyped]

Convert to hash representation.

Returns:

  • (Hash[Symbol, untyped])


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

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

#to_sString

Returns:

  • (String)


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

def to_s: () -> String

#valueObject

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

Returns:

  • (Object)


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

def value: () -> untyped