libp2p/py-libp2p

Exceptions handling and structure

開放

#261 建立於 2019年8月23日

 (7 則留言) (0 個反應) (0 位負責人)Python (238 個分叉)auto 404
Interoperabilityhelp wanted

倉庫指標

星標
 (618 顆星)
PR 合併指標
 (PR 指標待抓取)

描述

  1. We should revisit the whole codebase to ensure exceptions are well defined and handled well.
  2. We don't have a good picture of the exception tree now. As a reference, in trinity, the package trinity has its own exception tree and so do p2p. I'm not sure what is the best structure for us, but I think probably a single exception tree(i.e. all exceptions inherit from BaseLibp2pError and its descendants) can be a start?

@ChihChengLiang @ralexstokes @NIC619 @pipermerriam

Would love to have your comment on it:)

貢獻者指南