class Exception

Overview

Represents errors that occur during application execution.

Exception and its descendants are used to communicate between raise and rescue statements in begin ... end blocks. Exception objects carry information about the exception – its type (the exception’s class name), an optional descriptive string, and optional traceback information. Exception subclasses may add additional information.

Defined in:

comandante/exception.cr

Instance Method Summary

Instance Method Detail

def formatted_backtrace : String #

Adds a colorized backtrace to exceptions


[View source]