跳转到内容

@freenotes/web-runtime


@freenotes/web-runtime / HttpErrorOptions

Interface: HttpErrorOptions

Defined in: src/http/errors.ts:12

Properties

businessCode?

optional businessCode?: string | number

Defined in: src/http/errors.ts:14


cause?

optional cause?: unknown

Defined in: src/http/errors.ts:16


code?

optional code?: string

Defined in: src/http/errors.ts:17


issues?

optional issues?: readonly StandardSchemaIssue[]

Defined in: src/http/errors.ts:20


kind?

optional kind?: HttpErrorKind

Defined in: src/http/errors.ts:13


request?

optional request?: HttpRequest

Defined in: src/http/errors.ts:18


response?

optional response?: HttpResponse<unknown>

Defined in: src/http/errors.ts:19


status?

optional status?: number

Defined in: src/http/errors.ts:21


transportCode?

optional transportCode?: string

Defined in: src/http/errors.ts:15

让基础能力保持简单,让业务开发更加专注。