Method: Mysql::Error#initialize
- Defined in:
- lib/vendor/mysql/error.rb
#initialize(message, sqlstate = 'HY000') ⇒ Error
Returns a new instance of Error.
25 26 27 28 29 |
# File 'lib/vendor/mysql/error.rb', line 25 def initialize(, sqlstate='HY000') @sqlstate = sqlstate @error = super end |