Method: Couchbase::Error::CouchbaseError#initialize
- Defined in:
- lib/couchbase/errors.rb
#initialize(msg = nil, context = nil, cause = nil) ⇒ CouchbaseError
Returns a new instance of CouchbaseError.
29 30 31 32 33 |
# File 'lib/couchbase/errors.rb', line 29 def initialize(msg = nil, context = nil, cause = nil) @context = context @cause = cause super(msg) end |