basalt / prisma/src / UnscopedOperationError
Class: UnscopedOperationError
Defined in: prisma/src/extension.ts:37
Thrown when a tenant is in scope and the extension is asked to run an operation it does not know how to scope (a Prisma operation added after this code was written, for example). Fails closed: an operation that cannot be scoped is refused rather than run across every tenant.
Extends
Constructors
Constructor
> new UnscopedOperationError(operation): UnscopedOperationError
Defined in: prisma/src/extension.ts:38
Parameters
operation
string
Returns
UnscopedOperationError
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).