Class: Coradoc::CoreModel::FrontmatterBlock::SchemaResolver::ValidationError

Inherits:
Struct
  • Object
show all
Defined in:
lib/coradoc/core_model/frontmatter/schema_resolver.rb

Overview

Structured validation error. Typed — never a hash bag.

Instance Attribute Summary collapse

Instance Attribute Details

#fieldObject

Returns the value of attribute field

Returns:

  • (Object)

    the current value of field



13
14
15
# File 'lib/coradoc/core_model/frontmatter/schema_resolver.rb', line 13

def field
  @field
end

#messageObject

Returns the value of attribute message

Returns:

  • (Object)

    the current value of message



13
14
15
# File 'lib/coradoc/core_model/frontmatter/schema_resolver.rb', line 13

def message
  @message
end