Exception: ActiveRecord::PostgreSQLExtensions::FeatureNotSupportedError

Inherits:
Exception
  • Object
show all
Defined in:
lib/active_record/postgresql_extensions/features.rb

Instance Method Summary collapse

Constructor Details

#initialize(feature) ⇒ FeatureNotSupportedError

Returns a new instance of FeatureNotSupportedError.



5
6
7
# File 'lib/active_record/postgresql_extensions/features.rb', line 5

def initialize(feature)
  super(%{The feature "#{feature}" is not supported by server. (Server version #{ActiveRecord::PostgreSQLExtensions.SERVER_VERSION}.)"})
end