Interface CouchbaseError

class

CouchbaseError

classdesc

The virtual class thrown for all Couchnode errors.

private
extends

node#Error

Hierarchy

  • Error
    • CouchbaseError

Index

Properties

Properties

public code: number

The error code for this error.

var

{errors} Error#code

public innerError: Error

The internal error that occured to cause this one. This is used to wrap low-level errors before throwing them from couchnode to simplify error handling.

var

{(node#Error)} Error#innerError

public message: string

public name: string

public reason: string

A reason string describing the reason this error occured. This value is almost exclusively used for REST request errors.

var

{string} Error#reason