Exception: PaperTrail::UnsupportedColumnType

Inherits:
UnsupportedSchema show all
Defined in:
lib/paper_trail/errors.rb

Overview

The application’s database column type is not supported.

Instance Method Summary collapse

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