jbmusso / grex

JavaScript graph database client for TinkerPop2 Rexster
MIT License
46 stars 12 forks source link

Add custom error types when handling errors #57

Open jbmusso opened 9 years ago

jbmusso commented 9 years ago

Consider passing custom/explicit error types to the callback when errors occur.

I can think of these errors right now:

There could be more (or less) errors. Maybe ConnectionError and ClientError. Thoughts welcomed!