basalt / prisma/src / CrossTenantScanShapeError
Class: CrossTenantScanShapeError
Defined in: prisma/src/cross-tenant.ts:54
The deployed function returned a column the caller did not declare. Fails closed: the whole guarantee of the pattern is that the scan carries identifiers and nothing else, and only the caller knows which identifiers it asked for. A function redefined to also select email or total is refused here rather than handed to application code.
Extends
Constructors
Constructor
> new CrossTenantScanShapeError(name, detail, allowed): CrossTenantScanShapeError
Defined in: prisma/src/cross-tenant.ts:55
Parameters
name
string
detail
string
allowed
string[]
Returns
CrossTenantScanShapeError
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).