Exception: Rus3::ExceedUpperLimitError

Inherits:
Error
  • Object
show all
Defined in:
lib/rus3/error.rb

Constant Summary

Constants inherited from Error

Rus3::Error::A2L_MAP

Constants included from EmptyList

Rus3::EmptyList::EMPTY_LIST

Instance Method Summary collapse

Methods inherited from Error

#smart_error_value

Methods included from EmptyList

#null?

Constructor Details

#initialize(value, limit) ⇒ ExceedUpperLimitError

Returns a new instance of ExceedUpperLimitError.



116
117
118
# File 'lib/rus3/error.rb', line 116

def initialize(value, limit)
  super(EMSG[:exceed_upper_limit] % [limit, value])
end