Using constants in error message.