Add db error consts file (#165)

* Add db error consts file

* Fixed typo in comment
This commit is contained in:
Rafael Taranto 2018-09-16 03:03:08 -03:00 committed by Josh Harvey
parent 7c4c314df4
commit 1a8ef31d39
3 changed files with 14 additions and 6 deletions

4
lib/db-error-codes.js Normal file
View file

@ -0,0 +1,4 @@
const dbErrorCodes = {
SERIALIZATION_FAILURE: '40001',
}
module.exports = dbErrorCodes