Exception: FlexibleApi::NoSuchRequestLevelError
- Inherits:
-
StandardError
- Object
- StandardError
- FlexibleApi::NoSuchRequestLevelError
- Defined in:
- lib/flexible_api/no_such_request_level_error.rb
Instance Method Summary collapse
-
#initialize(rl_name, klass_name) ⇒ NoSuchRequestLevelError
constructor
A new instance of NoSuchRequestLevelError.
- #message ⇒ Object
Constructor Details
#initialize(rl_name, klass_name) ⇒ NoSuchRequestLevelError
Returns a new instance of NoSuchRequestLevelError.
5 6 7 |
# File 'lib/flexible_api/no_such_request_level_error.rb', line 5 def initialize(rl_name, klass_name) @message = "There is no request level '#{rl_name}' for #{klass_name}" end |
Instance Method Details
#message ⇒ Object
9 10 11 |
# File 'lib/flexible_api/no_such_request_level_error.rb', line 9 def @message end |