basalt / prisma/src / CrossTenantScanInTenantError
Class: CrossTenantScanInTenantError
Defined in: prisma/src/cross-tenant.ts:35
A cross-tenant scan was attempted while a tenant was in scope. It is a deliberate RLS bypass and must only ever run as central code.
Extends
Constructors
Constructor
> new CrossTenantScanInTenantError(name): CrossTenantScanInTenantError
Defined in: prisma/src/cross-tenant.ts:36
Parameters
name
string
Returns
CrossTenantScanInTenantError
Overrides
Properties
code
> readonly code: string
Defined in: core/src/errors.ts:25
Inherited from
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).