Exception: Chatrix::AvatarNotFoundError

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

Overview

Raised when a user's avatar is not found.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(username) ⇒ AvatarNotFoundError

Returns a new instance of AvatarNotFoundError


41
42
43
# File 'lib/chatrix/errors.rb', line 41

def initialize(username)
  @username = username
end

Instance Attribute Details

#usernameObject (readonly)

Returns the value of attribute username


39
40
41
# File 'lib/chatrix/errors.rb', line 39

def username
  @username
end