driver-interface
Version:
Standardized interface for common functionality, expressed in layers. Covers communication with databases, hardware, web services, and more.
14 lines (13 loc) • 532 B
JavaScript
/**
* `notUnique`
*
* @constant
* @type {ExitDef}
*/
module.exports = {
description: 'Could not persist changes because they would violate one or more uniqueness constraints.',
moreInfoUrl: 'https://github.com/sailshq/waterline-query-docs/blob/8fc158d8460aa04ee6233fefbdf83cc17e7645df/docs/errors.md',
outputFriendlyName: 'Uniqueness error',
outputDescription: 'A native error from the database, with an extra key (`footprint`) attached.',
outputExample: '==='// e.g. an Error instance with a `footprint` attached
};