Exception: AssistantConversation::OwnershipTransferRejected
- Inherits:
-
StandardError
- Object
- StandardError
- AssistantConversation::OwnershipTransferRejected
- Defined in:
- app/models/assistant_conversation.rb
Overview
Raised when a locked ownership transfer finds that the conversation is no
longer eligible for administrative takeover.
Instance Attribute Summary collapse
-
#reason ⇒ Object
readonly
Returns the value of attribute reason.
Instance Method Summary collapse
-
#initialize(reason) ⇒ OwnershipTransferRejected
constructor
A new instance of OwnershipTransferRejected.
Constructor Details
#initialize(reason) ⇒ OwnershipTransferRejected
Returns a new instance of OwnershipTransferRejected.
45 46 47 48 |
# File 'app/models/assistant_conversation.rb', line 45 def initialize(reason) @reason = reason super("Assistant conversation ownership transfer rejected: #{reason}") end |
Instance Attribute Details
#reason ⇒ Object (readonly)
Returns the value of attribute reason.
42 43 44 |
# File 'app/models/assistant_conversation.rb', line 42 def reason @reason end |