跳到内容

tsoa-next / @tsoa-next/runtime / Exception

接口:例外 ​

定义如下: packages/runtime/src/routeGeneration/templateHelpers.ts:1364

因运行时验证失败而暴露出错误形状 。

扩展 ​

  • Error

属性 ​

cause? ​

ts
optional cause?: unknown;

定义于:节点/类型标注/lib/lib.es2022.error.d.ts:26

继承自 ​

ts
Error.cause

message ​

ts
message: string;

定义于:节点/类型标注/lib/lib.es5.d.ts:1077

继承自 ​

ts
Error.message

name ​

ts
name: string;

定义于:节点/类型标注/lib/lib.es5.d.ts:1076

继承自 ​

ts
Error.name

stack? ​

ts
optional stack?: string;

定义如下:节点/分型/lib/lib.es5.d.ts:1078

继承自 ​

ts
Error.stack

status ​

ts
status: number;

定义如下: packages/runtime/src/routeGeneration/templateHelpers.ts:1365

贡献者

暂无相关贡献者

页面历史

暂无最近变更历史

以 TypeScript 为先的 OpenAPI 生成、路由生成与运行时验证。