class Mint::Error
- Mint::Error
- Exception
- Reference
- Object
Overview
This is the base class of an error, it uses a Message to render to both to the Terminal and to an HTML format.
Direct Known Subclasses
- Mint::EnvFileNotFound
- Mint::InstallError
- Mint::JsonError
- Mint::RuntimeFileNotFound
- Mint::SyntaxError
- Mint::TypeError
Defined in:
errors/error.crConstructors
Instance Method Summary
Constructor Detail
def self.new(locals : Hash(String, Array(Mint::TypeChecker::Record | Mint::TypeChecker::Type | Mint::TypeChecker::Variable) | Array(String) | Mint::Ast::Node | Mint::TypeChecker::Record | Mint::TypeChecker::Type | Mint::TypeChecker::Variable | String | Tuple(Mint::Ast::Node, Array(Int32) | Int32)) = Locals.new)
#