public function __construct($key) { $msg = "No such data '{$key}' in the checkpoint"; parent::__construct(500, $msg, $msg); }