Skip to content

ectypes 下添加error模块,统一定义通用的error类型 #426

Description

@lishulong

(做什么)

ectypes 下添加error模块,统一定义通用的错误异常类型。

例如:
(Drive|Block|Server|Region|BlockGroup) (NotFound|AlreadyExist)

(为什么要做)

统一错误类型。

(使用什么工具)

python

(实现思路)

类似:

class Error(Exception):
    pass

class DriveError(Error):
    pass

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions