key = $key; parent::__construct('', $code, $previous); } public function errorMessage() { return "Key '{$this->key}' not found"; // TODO localize } }