Exception: Chatrix::UserNotFoundError

Inherits:
NotFoundError show all
Defined in:
lib/chatrix/errors.rb

Overview

Raised when a user is not found.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(username) ⇒ UserNotFoundError

Returns a new instance of UserNotFoundError


32
33
34
# File 'lib/chatrix/errors.rb', line 32

def initialize(username)
  @username = username
end

Instance Attribute Details

#usernameObject (readonly)

Returns the value of attribute username


30
31
32
# File 'lib/chatrix/errors.rb', line 30

def username
  @username
end