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

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

  •  14-04-2022
  •  | 
  •  

문제

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!

도움이 되었습니까?

해결책

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

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top