Exception: Chatrix::RoomNotFoundError
- Inherits:
-
NotFoundError
- Object
- StandardError
- ChatrixError
- ApiError
- NotFoundError
- Chatrix::RoomNotFoundError
- Defined in:
- lib/chatrix/errors.rb
Overview
Raised when a room is not found.
Instance Attribute Summary collapse
-
#room ⇒ String
readonly
The room that was not found.
Attributes inherited from ApiError
Instance Method Summary collapse
-
#initialize(room, error = {}) ⇒ RoomNotFoundError
constructor
Initializes a new RoomNotFoundError instance.
Constructor Details
#initialize(room, error = {}) ⇒ RoomNotFoundError
Initializes a new RoomNotFoundError instance.
93 94 95 96 |
# File 'lib/chatrix/errors.rb', line 93 def initialize(room, error = {}) super error @room = room end |
Instance Attribute Details
#room ⇒ String (readonly)
Returns the room that was not found.
88 89 90 |
# File 'lib/chatrix/errors.rb', line 88 def room @room end |