Define constants for error codes
Define constants for error codes, added constants.h