Exception: SDL2::Error
- Inherits:
-
StandardError
- Object
- StandardError
- SDL2::Error
- Defined in:
- ext/sdl2_ext/main.c,
ext/sdl2_ext/main.c
Overview
An exception class for all Ruby/SDL2 specific errors.
Instance Attribute Summary collapse
-
#error_code ⇒ Integer
readonly
Error code sent from SDL library.
Instance Attribute Details
#error_code ⇒ Integer (readonly)
Returns error code sent from SDL library.