/** * @athenna/database * * (c) João Lenon * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ import { ConstraintViolationException } from '#src/exceptions/ConstraintViolationException'; export type CheckViolationMeta = { table?: string; constraint?: string; driver?: string; raw?: any; }; export declare class CheckViolationException extends ConstraintViolationException { /** * The name of the violated check constraint, when known. */ constraint?: string; constructor(meta?: CheckViolationMeta); }