Exception: Vapor::InvalidUsernameError
- Inherits:
-
RuntimeError
- Object
- RuntimeError
- Vapor::InvalidUsernameError
- Defined in:
- lib/vapor/user.rb
Instance Method Summary collapse
-
#initialize(username) ⇒ InvalidUsernameError
constructor
A new instance of InvalidUsernameError.
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 |