sails-hook-blacksails
Version:
A Sails Micro-app architecture framework
10 lines (9 loc) • 519 B
JavaScript
/****************************************************************************
* *
* Export custom response messages to global accessible, so you can use them *
* like this: MESSAGE.BAD_REQUEST.NO_TARGET_FOUNDED('something not found'). *
* *
/****************************************************************************/
module.exports = {
...sails.config.messages,
};