Exception: RbSDL2::RbSDL2Error

Inherits:
StandardError
  • Object
show all
Defined in:
lib/rb_sdl2/errors.rb

Instance Method Summary collapse

Constructor Details

#initialize(error_message = nil) ⇒ RbSDL2Error

Returns a new instance of RbSDL2Error.



3
4
5
# File 'lib/rb_sdl2/errors.rb', line 3

def initialize(error_message = nil)
  super(error_message || Error.last_error_message)
end