Add some error parsing macros