How to display exceptions on a page in Magento 2
The process is almost similar to Magento 1, but you only have to rename local.xml.sample to local.xml within your pub/errors directory.

More tips from Magento 2 Developer’s Cookbook

The process is almost similar to Magento 1, but you only have to rename local.xml.sample to local.xml within your pub/errors directory.
More tips from Magento 2 Developer’s Cookbook