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