Skip to content

RedisError is undefined #49

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
guimard opened this issue Jan 7, 2019 · 2 comments
Closed

RedisError is undefined #49

guimard opened this issue Jan 7, 2019 · 2 comments

Comments

@guimard
Copy link

guimard commented Jan 7, 2019

Hello,

in redis tests (lib/customErrors.js line 5), this value is undefined:

var RedisError = require('redis-parser').RedisError;

It seems that RedisError isn't inherited from redis-errors. So I'm unable to launch tests.

Cheers,
Xavier

@guimard
Copy link
Author

guimard commented Jan 7, 2019

Fixed using redis-parser < 3

@BridgeAR
Copy link
Member

BridgeAR commented Feb 5, 2019

They are not exported by the parser anymore and were moved out in a separate package instead (redis-errors).

@BridgeAR BridgeAR closed this as completed Feb 5, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants