Sha256: ea484f63cf4a00a397d8cae88fe5424094e5e30fb2154e51c8c960dd1c90b98c

Contents?: true

Size: 352 Bytes

Versions: 136

Compression:

Stored size: 352 Bytes

Contents

#FIXME Remove if ArJdbcMysql will give.
module ArJdbcMySQL #:nodoc:
  class Error < StandardError
    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

136 entries across 105 versions & 14 rubygems

Version Path
mdg-1.0.1 vendor/bundle/ruby/2.3.0/gems/activerecord-3.2.22.5/lib/active_record/railties/jdbcmysql_error.rb
activerecord-3.2.22.5 lib/active_record/railties/jdbcmysql_error.rb
activerecord-3.2.22.4 lib/active_record/railties/jdbcmysql_error.rb
activerecord-3.2.22.3 lib/active_record/railties/jdbcmysql_error.rb
activerecord-3.2.22.2 lib/active_record/railties/jdbcmysql_error.rb
activerecord-3.2.22.1 lib/active_record/railties/jdbcmysql_error.rb
active_mailer-0.0.10 test/fixtures/dummyapp_rails_3.2/vendor/bundle/ruby/1.9.1/gems/activerecord-3.2.12/lib/active_record/railties/jdbcmysql_error.rb
activerecord-3.2.22 lib/active_record/railties/jdbcmysql_error.rb
judge-2.0.5 vendor/bundle/ruby/2.1.0/gems/activerecord-3.2.12/lib/active_record/railties/jdbcmysql_error.rb
activerecord-3.2.21 lib/active_record/railties/jdbcmysql_error.rb
apl-library-0.0.90 vendor/bundle/ruby/2.1.0/gems/activerecord-3.2.18/lib/active_record/railties/jdbcmysql_error.rb
apl-library-0.0.90 vendor/bundle/ruby/1.9.1/gems/activerecord-3.2.18/lib/active_record/railties/jdbcmysql_error.rb
apl-library-0.0.90 vendor/bundle/ruby/2.1.0/gems/apl-library-0.0.90/vendor/bundle/ruby/1.9.1/gems/activerecord-3.2.18/lib/active_record/railties/jdbcmysql_error.rb
apl-library-0.0.90 vendor/bundle/ruby/1.8/gems/activerecord-3.2.18/lib/active_record/railties/jdbcmysql_error.rb
apl-library-0.0.90 vendor/bundle/ruby/2.1.0/gems/apl-library-0.0.90/vendor/bundle/ruby/1.8/gems/activerecord-3.2.18/lib/active_record/railties/jdbcmysql_error.rb
apl-library-0.0.90 vendor/bundle/ruby/2.1.0/gems/apl-library-0.0.90/vendor/bundle/ruby/2.1.0/gems/activerecord-3.2.18/lib/active_record/railties/jdbcmysql_error.rb
activerecord-3.2.20 lib/active_record/railties/jdbcmysql_error.rb
activerecord-3.2.19 lib/active_record/railties/jdbcmysql_error.rb
activerecord-3.2.18 lib/active_record/railties/jdbcmysql_error.rb
activerecord-3.2.17 lib/active_record/railties/jdbcmysql_error.rb