Class: Lutaml::Model::Type::MinExclusiveError

Inherits:
Error
  • Object
show all
Defined in:
lib/lutaml/model/error/type/min_exclusive_error.rb

Instance Method Summary collapse

Constructor Details

#initialize(value, min_bound) ⇒ MinExclusiveError

Returns a new instance of MinExclusiveError.



7
8
9
10
11
12
# File 'lib/lutaml/model/error/type/min_exclusive_error.rb', line 7

def initialize(value, min_bound)
  @value = value
  @min_bound = min_bound

  super()
end

Instance Method Details

#to_sObject



14
15
16
# File 'lib/lutaml/model/error/type/min_exclusive_error.rb', line 14

def to_s
  "Value #{@value} is not greater than the exclusive minimum #{@min_bound}"
end