Skip to content

关于异常处理 #14

@heimanba

Description

@heimanba

preCheck

  • 校验必填参数
    image
throw new core.CatchableError('xxx');
  • 是否存在API冲突。
    • 冲突的话: 明显提示 冲突的内容。直接 终止
       throw new core.CatchableError('xxx');
    
    • 没有冲突,直接部署
  • 控制台有修改
    image
    image

执行过程中,给出友好提示

  • 配额5个,异常时候,友好提示
throw new core.CatchableError('xxx');

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions