Exception: GitHub::Exceptions::UserNotFoundException

Inherits:
StandardError
  • Object
show all
Defined in:
lib/github/exceptions.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(user) ⇒ UserNotFoundException

Returns a new instance of UserNotFoundException.



5
6
7
# File 'lib/github/exceptions.rb', line 5

def initialize(user)
  @message = "The user, #{user}, could not be found."
end

Instance Attribute Details

#messageObject (readonly)

Returns the value of attribute message.



4
5
6
# File 'lib/github/exceptions.rb', line 4

def message
  @message
end