public function __construct($err) { $msg = "Invalid config - {$err}"; parent::__construct(500, $msg, $msg); }