[docs]classSearchAPIError(exc.GlobusAPIError):""" Error class for the Search API client. In addition to the inherited instance variables, provides ``error_data``. :ivar error_data: Additional object returned in the error response. May be a dict, list, or None. """def__init__(self,r:requests.Response)->None:self.error_data:dict[str,t.Any]|None=Nonesuper().__init__(r)def_post_parse_hook(self)->bool:self.error_data=self._dict_data.get("error_data")returnTrue