Exception: SDL2::Error

Inherits:
StandardError
  • Object
show all
Defined in:
main.c,
main.c

Overview

An exception class for all Ruby/SDL2 specific errors.

Instance Attribute Summary (collapse)

Instance Attribute Details

- (Integer) error_code (readonly)

Returns error code sent from SDL library

Returns:

  • (Integer)

    error code sent from SDL library