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.2.11.3 lib/active_record/railties/jdbcmysql_error.rb
activerecord-4.2.11.2 lib/active_record/railties/jdbcmysql_error.rb
activerecord-5.0.7.2 lib/active_record/railties/jdbcmysql_error.rb
activerecord-4.2.11.1 lib/active_record/railties/jdbcmysql_error.rb
activerecord-5.0.7.1 lib/active_record/railties/jdbcmysql_error.rb
activerecord-4.2.11 lib/active_record/railties/jdbcmysql_error.rb
activerecord-5.0.7 lib/active_record/railties/jdbcmysql_error.rb
activerecord-4.2.10 lib/active_record/railties/jdbcmysql_error.rb
activerecord-4.2.10.rc1 lib/active_record/railties/jdbcmysql_error.rb
activerecord-5.0.6 lib/active_record/railties/jdbcmysql_error.rb
activerecord-5.0.6.rc1 lib/active_record/railties/jdbcmysql_error.rb
activerecord-5.0.5 lib/active_record/railties/jdbcmysql_error.rb
activerecord-5.0.5.rc2 lib/active_record/railties/jdbcmysql_error.rb
activerecord-5.0.5.rc1 lib/active_record/railties/jdbcmysql_error.rb
activerecord-4.2.9 lib/active_record/railties/jdbcmysql_error.rb
activerecord-4.2.9.rc2 lib/active_record/railties/jdbcmysql_error.rb
activerecord-5.0.4 lib/active_record/railties/jdbcmysql_error.rb
activerecord-5.0.4.rc1 lib/active_record/railties/jdbcmysql_error.rb
activerecord-4.2.9.rc1 lib/active_record/railties/jdbcmysql_error.rb
activerecord-5.0.3 lib/active_record/railties/jdbcmysql_error.rb