class UnsupportedIsolationLevelError
extends Error
Since 0.5.0

Thrown when a database adapter cannot honour a requested transaction isolation level.

Constructors

UnsupportedIsolationLevelError(
adapter: string,
level: string
)

Creates a named, caller-safe isolation refusal.

Properties

readonly
name: string

Discriminant for consumers that cannot use instanceof across realms.

Usage

import { UnsupportedIsolationLevelError } from "database-plugin/src/index.ts";