Exception: SDL2::Error

Inherits:
StandardError
  • Object
show all
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

Instance Attribute Details

#error_codeInteger (readonly)

Returns error code sent from SDL library.

Returns:

  • (Integer)

    error code sent from SDL library