How to use the rest-hapi.errorHelper function in rest-hapi

To help you get started, we’ve selected a few rest-hapi examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github JKHeadley / appy-backend / backend / server / api / user.js View on Github external
.catch(function (error) {
            Log.error(error);
            return reply(RestHapi.errorHelper.formatResponse(error));
          });
      };
github JKHeadley / appy-backend / backend / server / api / visitor.js View on Github external
.catch(function(error) {
          Log.error(error);
          return reply(RestHapi.errorHelper.formatResponse(error));
        });
    };
github JKHeadley / appy-backend / server / api / permission.js View on Github external
.catch(function (error) {
          Log.error(error);
          return reply(RestHapi.errorHelper.formatResponse(error));
        })
    };
github JKHeadley / appy-backend / server / api / login.js View on Github external
.catch(function (error) {
          Log.error(error);
          return reply(RestHapi.errorHelper.formatResponse(error));
        })
    };
github JKHeadley / appy-backend / backend / server / api / login.js View on Github external
.catch(function (error) {
              Log.error(error);
              return reply(RestHapi.errorHelper.formatResponse(error));
            });
        }
github JKHeadley / appy-backend / backend / server / api / stats.js View on Github external
.catch(function(error) {
          Log.error(error);
          return reply(RestHapi.errorHelper.formatResponse(error));
        });
github JKHeadley / appy-backend / backend / server / api / login.js View on Github external
.catch(function (error) {
          Log.error(error);
          return reply(RestHapi.errorHelper.formatResponse(error));
        })
    };
github JKHeadley / appy-backend / server / api / user.js View on Github external
.catch(function (error) {
          Log.error(error);
          return reply(RestHapi.errorHelper.formatResponse(error));
        });
    };
github JKHeadley / appy-backend / server / api / chat.js View on Github external
.catch(function (error) {
          Log.error(error);
          return reply(RestHapi.errorHelper.formatResponse(error));
        });
    };
github JKHeadley / appy-backend / server / api / login.js View on Github external
.catch(function (error) {
              Log.error(error);
              return reply(RestHapi.errorHelper.formatResponse(error));
            });
        }