adding macros for our errors