class FlexColumns::Errors::InvalidCompressedDataInDatabaseError

Raised when the data in the database appears to be GZip’ed, but we can’t decompress that data.

Attributes

source_exception[R]

Public Class Methods

new(data_source, raw_string, source_exception) click to toggle source
# File lib/flex_columns/errors.rb, line 120
def initialize(data_source, raw_string, source_exception)
  @source_exception = source_exception
  super(data_source, raw_string)
end

Private Instance Methods

create_message() click to toggle source
# File lib/flex_columns/errors.rb, line 126
      def create_message
        super + %{, we got an exception when trying to decompress the data:

#{source_exception} (#{source_exception.class.name})}
      end