Skip to content

Instantly share code, notes, and snippets.

@dispalt
Created January 24, 2012 03:35
Show Gist options
  • Save dispalt/1667631 to your computer and use it in GitHub Desktop.
Save dispalt/1667631 to your computer and use it in GitHub Desktop.
[Error: Cannot find module '/mnt/hgfs/w/ele/node_modules/zookeeper/lib/../build/default/zookeeper_native']
{ [Function: ZooKeeper]
ZooKeeper: [Circular],
super_: [Function: EventEmitter],
on_closed: 'close',
on_connected: 'connect',
on_connecting: 'connecting',
on_event_created: 'created',
on_event_deleted: 'deleted',
on_event_changed: 'changed',
on_event_child: 'child',
on_event_notwatching: 'notwatching',
ZOO_CREATED_EVENT: 1,
ZOO_DELETED_EVENT: 2,
ZOO_CHANGED_EVENT: 3,
ZOO_CHILD_EVENT: 4,
ZOO_SESSION_EVENT: -1,
ZOO_NOTWATCHING_EVENT: -2,
ZOO_PERM_READ: 1,
ZOO_PERM_WRITE: 2,
ZOO_PERM_CREATE: 4,
ZOO_PERM_DELETE: 8,
ZOO_PERM_ADMIN: 16,
ZOO_PERM_ALL: 31,
ZOOKEEPER_WRITE: 1,
ZOOKEEPER_READ: 2,
ZOO_EPHEMERAL: 1,
ZOO_SEQUENCE: 2,
ZOO_EXPIRED_SESSION_STATE: -112,
ZOO_AUTH_FAILED_STATE: -113,
ZOO_CONNECTING_STATE: 1,
ZOO_ASSOCIATING_STATE: 2,
ZOO_CONNECTED_STATE: 3,
ZOO_LOG_LEVEL_ERROR: 1,
ZOO_LOG_LEVEL_WARN: 2,
ZOO_LOG_LEVEL_INFO: 3,
ZOO_LOG_LEVEL_DEBUG: 4,
ZOK: 0,
ZSYSTEMERROR: -1,
ZRUNTIMEINCONSISTENCY: -2,
ZDATAINCONSISTENCY: -3,
ZCONNECTIONLOSS: -4,
ZMARSHALLINGERROR: -5,
ZUNIMPLEMENTED: -6,
ZOPERATIONTIMEOUT: -7,
ZBADARGUMENTS: -8,
ZINVALIDSTATE: -9,
ZAPIERROR: -100,
ZNONODE: -101,
ZNOAUTH: -102,
ZBADVERSION: -103,
ZNOCHILDRENFOREPHEMERALS: -108,
ZNODEEXISTS: -110,
ZNOTEMPTY: -111,
ZSESSIONEXPIRED: -112,
ZINVALIDCALLBACK: -113,
ZINVALIDACL: -114,
ZAUTHFAILED: -115,
ZCLOSING: -116,
ZNOTHING: -117,
ZSESSIONMOVED: -118 }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment