How to set Magento 2 Modes error

How to set Magento 2 Modes error