hi, Robert Main Errors are very basic to projects and languages. And currently it is hard to define errors and exchange errors.
This library is a try to build a unified error system and make it exchangeable between projects or if possible languages. so it can also help sails to define its errors and publish them with ease. And I have published two *errorable* modules: *common* and *http* . *common* is for more general usage, *http* is for http protocol. You can also define yours and if your errors are general enough, you can publish it. Thanks you. 在 2016年1月25日星期一 UTC+8上午9:28:17,Robert Main写道: > > What does this have to do with sails? > > On Sunday, 24 January 2016, 李白|字一日 <[email protected] <javascript:>> > wrote: > >> hi, all >> >> It is so excited to have this library released after long time >> improvement. >> >> Errorable is a library for error definition and generation. >> >> the project link: https://github.com/calidion/errorable >> >> Here are some goals for it: >> >> >> 1. Domains for different companies and organizations. >> 2. Predefined errors >> These are standard errors accumulated over time >> 3. I18n >> Error messages are localized. >> 4. Customization can easily be made by a new error file. >> 5. Exchangeability between projects >> >> >> And also some predefined errors available: >> >> General Errors: >> https://github.com/Errorable/common >> HTTP Errors: >> https://github.com/Errorable/http >> >> Any advices/issues/pull requests are welcome. >> >> Thank you. >> >> > > -- > Kind Regards > > -Robert Main > > -- Job board: http://jobs.nodejs.org/ New group rules: https://gist.github.com/othiym23/9886289#file-moderation-policy-md Old group rules: https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines --- You received this message because you are subscribed to the Google Groups "nodejs" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/nodejs/3fa9de06-b699-44a8-a09b-cfb68bf8a0d6%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
