class Chatrix::RoomNotFoundError

Raised when a room is not found.

Attributes

room[R]

@return [String] the room that was not found.

Public Class Methods

new(room, error = {}) click to toggle source

Initializes a new RoomNotFoundError instance. @param room [String] Name of the room that was not found. @param error [Hash] The error response from the server.

Calls superclass method Chatrix::ApiError::new
# File lib/chatrix/errors.rb, line 93
def initialize(room, error = {})
  super error
  @room = room
end