/** * @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 ForeignKeyViolationMeta = { table?: string; column?: string; constraint?: string; driver?: string; raw?: any; }; export declare class ForeignKeyViolationException extends ConstraintViolationException { /** * The referencing column, when known. */ column?: string; /** * The name of the violated foreign key constraint, when known. */ constraint?: string; constructor(meta?: ForeignKeyViolationMeta); }