constants used for error message.