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-3.1.0 lib/rom/sql/error.rb
rom-sql-3.0.1 lib/rom/sql/error.rb
rom-sql-3.0.0 lib/rom/sql/error.rb
rom-sql-2.5.0 lib/rom/sql/error.rb
rom-sql-2.4.0 lib/rom/sql/error.rb
rom-sql-2.3.0 lib/rom/sql/error.rb
rom-sql-2.2.1 lib/rom/sql/error.rb
rom-sql-2.2.0 lib/rom/sql/error.rb
rom-sql-2.1.0 lib/rom/sql/error.rb
rom-sql-2.0.0 lib/rom/sql/error.rb
rom-sql-1.3.5 lib/rom/sql/error.rb
rom-sql-2.0.0.rc1 lib/rom/sql/error.rb
rom-sql-1.3.4 lib/rom/sql/error.rb
rom-sql-2.0.0.beta3 lib/rom/sql/error.rb
rom-sql-2.0.0.beta2 lib/rom/sql/error.rb
rom-sql-2.0.0.beta1 lib/rom/sql/error.rb
rom-sql-1.3.3 lib/rom/sql/error.rb
rom-sql-1.3.2 lib/rom/sql/error.rb
rom-sql-1.3.1 lib/rom/sql/error.rb
rom-sql-1.3.0 lib/rom/sql/error.rb