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

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

  •  14-04-2022
  •  | 
  •  

Question

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!

Was it helpful?

Solution

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

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top