Skip to content

basalt / audit-viewer/src / AuditTenantMismatchError

Class: AuditTenantMismatchError ​

Defined in: audit-viewer/src/viewer.ts:16

An explicit tenantId named a different tenant than the one the call runs in. The context tenant is authoritative; an argument may narrow to it, never widen past it.

Extends ​

Constructors ​

Constructor ​

> new AuditTenantMismatchError(): AuditTenantMismatchError

Defined in: audit-viewer/src/viewer.ts:18

Returns ​

AuditTenantMismatchError

Overrides ​

BasaltError.constructor

Properties ​

code ​

> readonly code: string

Defined in: core/src/errors.ts:25

Inherited from ​

BasaltError.code


details? ​

> readonly optional details?: Record<string, unknown>

Defined in: core/src/errors.ts:28

Structured payload passed to the constructor, exactly as given (never sanitised here).

Inherited from ​

BasaltError.details


status ​

> readonly status: 403 = 403

Defined in: audit-viewer/src/viewer.ts:17

Released under the MIT License.