alias Crystal::Repl::Interpreter::ThrowValue

Overview

An alias for either a returned value or a raised exception. When an ensure handler is executed because an exception was raised or because a value was returned, we abstract any of those in this type.

Alias Definition

Crystal::Repl::Interpreter::BigReturnedValue | Crystal::Repl::Interpreter::RaisedException | Crystal::Repl::Interpreter::SmallReturnedValue

Defined in:

compiler/crystal/interpreter/interpreter.cr