📜
RGSS Reference Manual
  • RGSS Reference Manual
  • RGSS Specifications
  • Ruby Syntax
    • Syntax and Expressions
    • Variables and Constants
    • Literals
    • Operator Expressions
    • Control Structures
    • Method Calls
    • Class and Method Definitions
  • Standard Library
    • Built-in Functions
    • Built-in Variables
    • Built-in Classes
      • Object
        • Array
        • Exception
        • FalseClass
        • Hash
        • IO
          • File
        • MatchData
        • Module
          • Class
        • NilClass
        • Numeric
          • Integer
            • Bignum
            • Fixnum
          • Float
        • Range
        • Proc
        • Regexp
        • String
        • Symbol
        • Time
        • TrueClass
    • Built-in Modules
      • Comparable
      • Enumerable
      • Errno
      • FileTest
      • GC
      • Kernel
      • Marshal
      • Math
    • Built-in Exception Classes
  • Game Library
    • RGSS Built-in Functions
    • RGSS Built-in Classes
      • Bitmap
      • Color
      • Font
      • Plane
      • Rect
      • Sprite
      • Table
      • Tilemap
      • Tone
      • Viewport
      • Window
      • RGSSError
      • RPG::Sprite
      • RPG::Weather
    • RGSS Built-in Modules
      • Audio
      • Graphics
      • Input
      • RPG
      • RPG::Cache
    • RPGXP Data Structures
      • RPG::Map
      • RPG::MapInfo
      • RPG::Event
      • RPG::Event::Page
      • RPG::Event::Page::Condition
      • RPG::Event::Page::Graphic
      • RPG::EventCommand
      • RPG::MoveRoute
      • RPG::MoveCommand
      • RPG::Actor
      • RPG::Class
      • RPG::Class::Learning
      • RPG::Skill
      • RPG::Item
      • RPG::Weapon
      • RPG::Armor
      • RPG::Enemy
      • RPG::Enemy::Action
      • RPG::Troop
      • RPG::Troop::Member
      • RPG::Troop::Page
      • RPG::Troop::Page::Condition
      • RPG::State
      • RPG::Animation
      • RPG::Animation::Frame
      • RPG::Animation::Timing
      • RPG::Tileset
      • RPG::CommonEvent
      • RPG::System
      • RPG::System::Words
      • RPG::System::TestBattler
      • RPG::AudioFile
  • Appendix
    • Regular Expression
    • sprintf Format
Powered by GitBook
On this page
  • Exception
  • NoMemoryError
  • ScriptError
  • NotImplementedError
  • SyntaxError
  • StandardError
  • ArgumentError
  • IndexError
  • IOError
  • EOFError
  • LocalJumpError
  • NameError
  • NoMethodError
  • RangeError
  • FloatDomainError
  • RegexpError
  • RuntimeError
  • SystemCallError
  • Errno::EXXX
  • SystemStackError
  • TypeError
  • ZeroDivisionError
  • SystemExit
  • fatal
  1. Standard Library

Built-in Exception Classes

PreviousMathNextGame Library

Last updated 1 year ago

The superclass of all exceptions.

NoMemoryError

Thrown when attempting to reserve too much memory at once.

ScriptError

Indicates a script error.

NotImplementedError

Thrown when an unimplemented feature is invoked.

SyntaxError

Thrown by a syntax error.

StandardError

Without a class specified, the rescue class will catch the subclasses of this exception class.

ArgumentError

Thrown when argument numbers do not match or when the values are incorrect.

IndexError

Thrown when the index is out of range.

IOError

Thrown when an I/O error occurs.

EOFError

Thrown when EOF (End Of File) has been reached.

LocalJumpError

Thrown when no jump destination is found for a control structure.

NameError

Thrown when accessing an undefined local variable or constant.

NoMethodError

Thrown when calling an undefined method.

RangeError

FloatDomainError

RegexpError

Thrown when compiling a regular expression fails.

RuntimeError

A runtime exception. Thrown when calling raise without specifying an exception.

SystemCallError

Thrown when a system call fails.

Errno::EXXX

SystemStackError

Thrown when a stack level becomes too deep.

TypeError

Thrown when an illegal type is invoked.

ZeroDivisionError

Thrown when dividing by zero.

SystemExit

Terminates the program. See exit for more information.

fatal

A fatal (internal) error. This object is not visible with normal methods.

A range exception. Thrown when an out-of-range integer conversion (from to ) , etc., occurs.

Thrown when trying to convert a positive or negative infinite number or NaN (Not a Number) into , or when comparing a number to a NaN.

Exception class for each errno. See the module for more on each class name.

Exception
Bignum
Fixnum
Bignum
Errno