# Error Handling #
Errors are added to `ErrorGen`, defined in [`error.rs`], and reported between compiler phases.
If an error occurs during a compilation phase, the errors are reported and the compilation is aborted.
[`error.rs`]: https://github.com/ejrgilbert/whamm/blob/master/src/common/error.rs