public function __construct($deviceName) { $msg = "Unknown device '{$deviceName}'; we have no config for it"; parent::__construct(400, $msg, $msg); }