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)


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

def inspect: () -> String

#nameString

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

Returns:

  • (String)


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

def name: () -> String

#to_hHash[Symbol, untyped]

Convert to hash representation.

Returns:

  • (Hash[Symbol, untyped])


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

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

#to_sString

Returns:

  • (String)


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

def to_s: () -> String

#valueObject

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

Returns:

  • (Object)


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

def value: () -> untyped