* @param string $type Return format: json or xml
*
* @return array|string
- * @throws UnauthorizedException
- * @throws NotFoundException
+ * @throws NotFoundException if the results are empty.
*/
function api_users_lookup($type)
{
* @param string $type Return format: json, xml, atom, rss
*
* @return array|string
- * @throws UnauthorizedException
- * @throws BadRequestException
+ * @throws BadRequestException if the "q" parameter is missing.
*/
function api_search($type)
{
* @param string $type Either "json" or "xml"
*
* @return boolean|string|array
- * @throws UnauthorizedException
*/
function api_blocks_list($type)
{
* @param string $type Either "json" or "xml"
*
* @return boolean|string|array
- * @throws UnauthorizedException
*/
function api_friendships_incoming($type)
{
* @param string $type Return format: json or xml
*
* @return string|array
- * @throws UnauthorizedException
*/
function api_saved_searches_list($type)
{