driver-interface
Version:
Standardized interface for common functionality, expressed in layers. Covers communication with databases, hardware, web services, and more.
15 lines (14 loc) • 640 B
JavaScript
/**
* @module constants/badConnection.exit.js
* @constant
*/
module.exports = {
friendlyName: 'Bad connection',
description: 'The provided connection is no longer active; or possibly never was.',
extendedDescription: 'Usually, this means the connection to the database was lost due to a logic error or timing issue in userland code. In production, this can mean that the database became overwhelemed or was shut off while some business logic was in progress.',
outputVariableName: 'report',
outputDescription: 'The `meta` property is reserved for custom driver-specific extensions.',
outputExample: {
meta: '==='
}
};