class Mint::Error
- Mint::Error
- Exception
- Reference
- Object
Overview
Represents a raisable rich and descriptive error.
Defined in:
errorable.crConstructors
Instance Method Summary
- #block(&)
- #block(contents : String)
- #blocks : Array(Array(Mint::Error::Bold | Mint::Error::Code | Mint::Error::Text) | Mint::Error::Snippet)
- #bold(value : String)
- #build(&)
- #code(value : String)
- #expected(subject : String, got : String)
- #expected(subject : TypeChecker::Checkable | String, got : TypeChecker::Checkable)
- #name : Symbol
- #snippet(value : String, node : Ast::Node | TypeChecker::Checkable | String)
- #snippet(value : Parser)
- #snippet(value : String | Ast::Node | TypeChecker::Checkable)
- #text(value : String)
- #to_html(reload : Bool = false)
- #to_terminal
Constructor Detail
Instance Method Detail
def blocks : Array(Array(Mint::Error::Bold | Mint::Error::Code | Mint::Error::Text) | Mint::Error::Snippet)
#