#NEWLINE# def Handle( self , args , token = None ) : #NEWLINE# #INDENT# errors_collection = aff4 . FACTORY . Open ( HUNTS_ROOT_PATH . Add ( args . hunt_id ) . Add ( 'ErrorClients' ) , mode = 'r' , token = token ) #NEWLINE# result = api_call_handler_utils . FilterAff4Collection ( errors_collection , args . offset , args . count , args . filter ) #NEWLINE# return ApiListHuntErrorsResult ( items = result , total_count = len ( errors_collection ) )