#NEWLINE# def _client_error_callback( error , channel ) : #NEWLINE# #INDENT# print ( ( ( ( 'Client Error: ' + error ) + ' on channel ' ) + channel ) ) #NEWLINE# print ( 'TTL on grant expired, or token was invalid, or revoked. Client will now unsubscribe from this unauthorized channel.' ) #NEWLINE# client . unsubscribe ( channel = channel )