Add errors ection to Part 4 of compiler posts
This commit is contained in:
5
04/error.cpp
Normal file
5
04/error.cpp
Normal file
@@ -0,0 +1,5 @@
|
||||
#include "error.hpp"
|
||||
|
||||
const char* type_error::what() const noexcept {
|
||||
return "an error occured while checking the types of the program";
|
||||
}
|
||||
Reference in New Issue
Block a user