Exception: RBSJsonSchema::ValidationError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/rbs_json_schema/validation_error.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(message:) ⇒ ValidationError

Returns a new instance of ValidationError.



5
6
7
8
9
# File 'lib/rbs_json_schema/validation_error.rb', line 5

def initialize(message:)
  @message = message

  super message
end

Instance Attribute Details

#messageObject (readonly)

Returns the value of attribute message.



3
4
5
# File 'lib/rbs_json_schema/validation_error.rb', line 3

def message
  @message
end