Exception: ExceptionHandler::AccountUnbindDisallowedError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/patch/action_controller/concerns/exception_handler.rb

Overview

Используется для сигнализации ошибки, что нельзя отвязать аккаунт

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeAccountUnbindDisallowedError

Returns a new instance of AccountUnbindDisallowedError.



63
64
65
# File 'lib/patch/action_controller/concerns/exception_handler.rb', line 63

def initialize
  super("Невозможно отвязать аккаунт от профиля, если это единственный или активный профиль")
end

Instance Attribute Details

#paramObject (readonly)

Returns the value of attribute param.



61
62
63
# File 'lib/patch/action_controller/concerns/exception_handler.rb', line 61

def param
  @param
end