Couchbase nodejs error code mapping


Using couchbase nodejs (v2.0.6) when running views the errors I got back were still encoded, they just said 1, or 6. I can’t tell which function they’re coming from or if they correspond to a constant in the errors.js file in the couchbase nodejs library, or if they are coming straight from the couchbase server. Does anyone know how I can map these integer values to actual errors?


hey @brett19 do we have a table of error code numbers and their corresponding description?


Hey matthew,

The best thing we have is found here:

Cheers, Brett