class Myst::MatchError

Overview

These subclasses of RuntimeError help clean up the interpreter source code to better show the intent of the raised errors, and ensure consistency between them.

Defined in:

myst/interpreter/exceptions.cr

Constructors

Instance methods inherited from class Myst::RuntimeError

trace : Callstack trace, trace=(trace : Callstack) trace=, value : MTValue value, value=(value : MTValue) value=

Constructor methods inherited from class Myst::RuntimeError

new(value : MTValue, trace : Callstack) new

Constructor Detail

def self.new(trace : Callstack, message : String = "match failure") #

[View source]