Sha256: 81c92a4e89f9b0debe5ee7b35a201730c8561f26568196c1cc16f2c949e165f9
Contents?: true
Size: 699 Bytes
Versions: 9
Compression:
Stored size: 699 Bytes
Contents
# frozen_string_literal: true class Code class Error < StandardError class ArityError < Error end class TypeError < Error end class TypeError < Error end class Undefined < Error end class UndefinedVariable < Error end class ArgumentError < Error end class IncompatibleContext < Error end class KeyNotFound < Error end class Break < Error attr_reader :value def initialize(value = nil) @value = value || Object::Nothing.new end end class Next < Error attr_reader :value def initialize(value = nil) @value = value || Object::Nothing.new end end end end
Version data entries
9 entries across 9 versions & 1 rubygems