Merged error.h with debug.h. TODO: remove bugs from main
Merge branch 'debug' of github.com:JackRidehalgh/TTyper into debug