error and message header files merged to one