Skip to content
This repository
branch: fix_ci
Fetching contributors…

Cannot retrieve contributors at this time

file 16 lines (14 sloc) 0.361 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
#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
Something went wrong with that request. Please try again.