Sha256: d567705702205522ba1f9f1ad773ee8a96805e8917e262edfc2998c09b249510

Contents?: true

Size: 307 Bytes

Versions: 45

Compression:

Stored size: 307 Bytes

Contents

module ROM
  module SQL
    class Error < StandardError
      attr_reader :original_exception

      def initialize(original_exception)
        super(original_exception.message)
        @original_exception = original_exception
        set_backtrace(original_exception.backtrace)
      end
    end
  end
end

Version data entries

45 entries across 45 versions & 1 rubygems

Version Path
rom-sql-0.7.0.beta1 lib/rom/sql/error.rb
rom-sql-0.6.1 lib/rom/sql/error.rb
rom-sql-0.6.0 lib/rom/sql/error.rb
rom-sql-0.6.0.rc1 lib/rom/sql/error.rb
rom-sql-0.6.0.beta1 lib/rom/sql/error.rb