1
0
mirror of https://github.com/stolksdorf/homebrewery.git synced 2025-12-15 11:05:58 +00:00
Files
homebrewery/server/errors.js
2017-01-22 12:45:16 -05:00

14 lines
208 B
JavaScript

const egads = require('egads');
const Error = egads.extend('Server Error', 500, 'Generic Server Error');
Error.noBrew = Error.extend('Can not find a brew with that id', 404);
module.exports = Error;