UNPKG

dorm-node

Version:

Library for creating and managing arbitrary object models and their relationships, and the data used by those models.

22 lines (18 loc) 305 B
// Dorm Models library module.exports = { Exceptions: { ArgumentException: function(msg) { return { name: "ArgumentException", message: msg } }, DatabaseException: function(msg) { //todo: log exception return { name: "DatabaseException", message: msg }; } } }