Exception: Vapor::InvalidUsernameError

Inherits:
RuntimeError
  • Object
show all
Defined in:
lib/vapor/user.rb

Instance Method Summary collapse

Constructor Details

#initialize(username) ⇒ InvalidUsernameError

Returns a new instance of InvalidUsernameError.



55
56
57
# File 'lib/vapor/user.rb', line 55

def initialize(username)
  super("#{username} is an invalid username.")
end