In Python libtorrent, what is the exception type throw when error occurs in session seeding?

StackOverflow https://stackoverflow.com/questions/16378593

  •  14-04-2022
  •  | 
  •  

Domanda

I wanna catch some exception if the session met some error on seeding phase. But it is a python-binding of C++ library, I don't know where I can find the document to list python exception type. I try:

 import libtorret 
 help(libtorrent)

and it does not provide about exception information. Does anyone provide a document location about python-libtorrent exception list or what exception will throw at this case?

Any help will be appreciated!

È stato utile?

Soluzione

You can find the exception information in the libtorrent library documentation: http://www.rasterbar.com/products/libtorrent/manual.html#exceptions

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top