Exception: Identifiable::Errors::LengthMustBeNilIfStyleIsUuidError
- Inherits:
-
StandardError
- Object
- StandardError
- Identifiable::Errors::LengthMustBeNilIfStyleIsUuidError
- Defined in:
- lib/identifiable/errors.rb
Instance Method Summary collapse
-
#initialize ⇒ LengthMustBeNilIfStyleIsUuidError
constructor
A new instance of LengthMustBeNilIfStyleIsUuidError.
Constructor Details
#initialize ⇒ LengthMustBeNilIfStyleIsUuidError
Returns a new instance of LengthMustBeNilIfStyleIsUuidError.
52 53 54 |
# File 'lib/identifiable/errors.rb', line 52 def initialize super('The identifiable\'s length cannot be set if you\'re using the :uuid style, because UUIDs have a fixed length. You should remove the length parameter.') end |