How to customize loopback errors

26 views
Skip to first unread message

al...@getpenta.com

unread,
Oct 20, 2016, 9:29:46 AM10/20/16
to LoopbackJS
I would like to make some customizations to built-in error handling mechanism in loopback:
- add new codes and messages
- translate existing messages to add multi-language support

Where can I find the list of the existing error codes and messages in loopback, as well as their relationship with http error codes?

What is the best place to manipulate this built-in definition and add new errors and translation logic?

Marcelo Alves

unread,
Nov 2, 2016, 6:35:44 PM11/2/16
to LoopbackJS
I'm with the same problem.
Reply all
Reply to author
Forward
0 new messages