ErrorHandler.php Interfaces, Classes, Traits and Enums ErrorHandler Default error handler for PHPCap. PHPCap will call the throwException method of this class when an error occurs.