Exception: PaperTrail::UnsupportedColumnType
- Inherits:
-
UnsupportedSchema
- Object
- StandardError
- Error
- UnsupportedSchema
- PaperTrail::UnsupportedColumnType
- Defined in:
- lib/paper_trail/errors.rb
Overview
The application’s database column type is not supported.
Instance Method Summary collapse
-
#initialize(method:, expected:, actual:) ⇒ UnsupportedColumnType
constructor
A new instance of UnsupportedColumnType.
Constructor Details
#initialize(method:, expected:, actual:) ⇒ UnsupportedColumnType
Returns a new instance of UnsupportedColumnType.
22 23 24 25 26 27 28 29 30 31 |
# File 'lib/paper_trail/errors.rb', line 22 def initialize(method:, expected:, actual:) super( format( "%s expected %s column, got %s", method, expected, actual ) ) end |