Exception: Lutaml::Model::Type::MinBoundError
- Defined in:
- lib/lutaml/model/error/type/min_bound_error.rb
Instance Method Summary collapse
-
#initialize(value, min_bound) ⇒ MinBoundError
constructor
A new instance of MinBoundError.
- #to_s ⇒ Object
Constructor Details
#initialize(value, min_bound) ⇒ MinBoundError
Returns a new instance of MinBoundError.
7 8 9 10 11 12 |
# File 'lib/lutaml/model/error/type/min_bound_error.rb', line 7 def initialize(value, min_bound) @value = value @min_bound = min_bound super() end |
Instance Method Details
#to_s ⇒ Object
14 15 16 |
# File 'lib/lutaml/model/error/type/min_bound_error.rb', line 14 def to_s "Value #{@value} is less than the set minimum limit #{@min_bound}" end |