Duplicate slug name error

Business logic error thrown when attempting to save a slug that already exists. This abstracts away the database-specific ConstraintError to provide a semantic error that application code can handle without knowing about constraint names.

Hierarchy (View Summary)

Constructors

Properties

Constructors

Properties

code: string
tableName: string