ErrorController.php This file holds the error controller Interfaces, Classes and Traits ErrorController The error controller handles all bad requests. Other controllers can redirect to this one.