Exception: ADAM6050::Password::FormatError
- Defined in:
- lib/adam6050/password.rb
Overview
Format errors should be raised whenever a plain text password longer than 8 characters is passed. Note that only ascii characters are supported.
Instance Method Summary collapse
-
#initialize ⇒ FormatError
constructor
A new instance of FormatError.
Constructor Details
#initialize ⇒ FormatError
Returns a new instance of FormatError.
23 24 25 |
# File 'lib/adam6050/password.rb', line 23 def initialize super 'Only ascii passwords of length 8 or less are supported' end |