mozilla-services/loop-server-errno

Name: loop-server-errno

Owner: Mozilla Services

Description: Loop server error numbers

Created: 2015-04-14 21:46:59.0

Updated: 2015-04-14 21:53:50.0

Pushed: 2015-04-14 21:53:50.0

Homepage: null

Size: 128

Language: JavaScript

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

loop-server-errno

Loop server error numbers.

It can be installed using npm:

$ npm install loop-server-errno

Then, use it like that:

r errors = require('loop-server-errno');
rs
INVALID_TOKEN: 105,
BADJSON: 106,
INVALID_PARAMETERS: 107,
MISSING_PARAMETERS: 108,
INVALID_AUTH_TOKEN: 110,
EXPIRED: 111,
REQUEST_TOO_LARGE: 113,
INVALID_OAUTH_STATE: 114,
CLIENT_REACHED_CAPACITY: 121,
USER_UNAVAILABLE: 122,
BACKEND: 201,
ROOM_FULL: 202,
UNDEFINED: 999 }

This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.