Listen to 'error' event.
This event is triggered when an error is throw.
Listen to 'ioredis:close' event.
This event is triggered when ioredis is closed.
Generated using TypeDoc
Listen to 'error' event.
This event is triggered when an error is throw.