Skip to content

Commit

Permalink
✨ feat: support more error type
Browse files Browse the repository at this point in the history
  • Loading branch information
arvinxx committed Dec 12, 2023
1 parent 4e148f4 commit bdcffbf
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/error.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,9 @@ export const PluginErrorType = {

PluginServerError: 'PluginServerError', // 插件服务端出错

PluginGatewayError: 'PluginGatewayError', // 插件网关出错
PluginOpenApiInitError: 'PluginOpenApiInitError', // 插件 OpenAPI 初始化失败

// ******* 客户端错误 ******* //
BadRequest: 400,
Unauthorized: 401,
Expand Down

0 comments on commit bdcffbf

Please sign in to comment.