Sha256: 7a3b58dbd3f18c85954759f56a45f8adb88461c8b397adb4e46e03b5d0e073be

Contents?: true

Size: 361 Bytes

Versions: 160

Compression:

Stored size: 361 Bytes

Contents

#FIXME Remove if ArJdbcMysql will give.
module ArJdbcMySQL #:nodoc:
  class Error < StandardError #:nodoc:
    attr_accessor :error_number, :sql_state

    def initialize msg
      super
      @error_number = nil
      @sql_state    = nil
    end

    # Mysql gem compatibility
    alias_method :errno, :error_number
    alias_method :error, :message
  end
end

Version data entries

160 entries across 155 versions & 11 rubygems

Version Path
activerecord-4.1.16 lib/active_record/railties/jdbcmysql_error.rb
activerecord-4.1.16.rc1 lib/active_record/railties/jdbcmysql_error.rb
activerecord-4.2.7.rc1 lib/active_record/railties/jdbcmysql_error.rb
activerecord-5.0.0 lib/active_record/railties/jdbcmysql_error.rb
activerecord-5.0.0.rc2 lib/active_record/railties/jdbcmysql_error.rb
activerecord-5.0.0.racecar1 lib/active_record/railties/jdbcmysql_error.rb
activerecord-5.0.0.rc1 lib/active_record/railties/jdbcmysql_error.rb
ish_lib_manager-0.0.1 test/dummy/vendor/bundle/ruby/2.3.0/gems/activerecord-4.2.6/lib/active_record/railties/jdbcmysql_error.rb
activerecord-5.0.0.beta4 lib/active_record/railties/jdbcmysql_error.rb
activerecord-4.1.15 lib/active_record/railties/jdbcmysql_error.rb
activerecord-4.2.6 lib/active_record/railties/jdbcmysql_error.rb
activerecord-4.1.15.rc1 lib/active_record/railties/jdbcmysql_error.rb
activerecord-4.2.6.rc1 lib/active_record/railties/jdbcmysql_error.rb
activerecord-4.1.14.2 lib/active_record/railties/jdbcmysql_error.rb
activerecord-4.2.5.2 lib/active_record/railties/jdbcmysql_error.rb
activerecord-5.0.0.beta3 lib/active_record/railties/jdbcmysql_error.rb
activerecord-5.0.0.beta2 lib/active_record/railties/jdbcmysql_error.rb
activejob-lock-0.0.2 rails/activerecord/lib/active_record/railties/jdbcmysql_error.rb
activerecord-5.0.0.beta1.1 lib/active_record/railties/jdbcmysql_error.rb
activerecord-4.2.5.1 lib/active_record/railties/jdbcmysql_error.rb