Commits
Click on a commit to change the comparison range♻️ refactor(error): add token() helper methods to error types
Simplifies error handling by adding token() methods to all error types
(ParseError, LexerError, EvalError, ModuleError, InnerError) instead of
using large match expressions in Error::from_error(). Also adds #[cold]
attributes to error paths for optimization and refactors EnvError to use
manual trait implementations. Update crates/mq-lang/src/error.rs
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> ♻️ refactor(error): remove inline attribute from fmt() and add cold attribute to to_eval_error_with_token() ♻️ refactor(error): add diagnostic message