Exception: ExceptionHandler::ProfileNotBindedError
- Inherits:
-
StandardError
- Object
- StandardError
- ExceptionHandler::ProfileNotBindedError
- Defined in:
- lib/patch/action_controller/concerns/exception_handler.rb
Overview
Используется для сигнализации ошибки, что аккаунт не прикреплен ни к одному профилю
Instance Attribute Summary collapse
-
#param ⇒ Object
readonly
Returns the value of attribute param.
Instance Method Summary collapse
-
#initialize(param) ⇒ ProfileNotBindedError
constructor
A new instance of ProfileNotBindedError.
Constructor Details
#initialize(param) ⇒ ProfileNotBindedError
Returns a new instance of ProfileNotBindedError.
51 52 53 54 |
# File 'lib/patch/action_controller/concerns/exception_handler.rb', line 51 def initialize(param) @param = param super("No active profile: #{param}") end |
Instance Attribute Details
#param ⇒ Object (readonly)
Returns the value of attribute param.
49 50 51 |
# File 'lib/patch/action_controller/concerns/exception_handler.rb', line 49 def param @param end |