class Pegmatite::Pattern::MatchError

Overview

Higher-level methods may choose to represent errors as exceptions, created in part by getting the description of the Pattern that failed.

Defined in:

pegmatite/pattern.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(source, fail : Tuple(Int32, Pattern)) #

[View source]

Instance Method Detail

def offset : Int32 #

[View source]