module Mint::Errorable
Overview
This module is used in all of the stages of the compiler which can error out (parser, type checker, scope builder, etc...).
It defines an interface (method) for creating descriptive errors and it can either gather them or raise them depending on the raise errors flag, which the including entity must define (unusally in the initialize method).
Direct including types
- Mint::Installer
- Mint::Installer::Repository
- Mint::MintJson
- Mint::Parser
- Mint::TestRunner
- Mint::TestRunner::Browser
- Mint::TypeChecker
Defined in:
errorable.crClass Method Summary
Instance Method Summary
- #error(name : Symbol, &)
- #error!(name : Symbol, &)
-
#errors : Array(Error)
The errors found during parsing.