@Stability.Uncommitted public class SubDocumentErrorContext extends ErrorContext
Context.ExportFormat
Constructor and Description |
---|
SubDocumentErrorContext(KeyValueErrorContext kvContext,
int index,
String path,
SubDocumentOpResponseStatus status) |
Modifier and Type | Method and Description |
---|---|
int |
index()
Returns the index of the spec which triggered the error.
|
void |
injectExportableParams(Map<String,Object> input)
This method needs to be implemented by the actual context implementations to
inject the params they need for exporting.
|
responseStatus
exportAsString, toString
public SubDocumentErrorContext(KeyValueErrorContext kvContext, int index, String path, SubDocumentOpResponseStatus status)
public int index()
public void injectExportableParams(Map<String,Object> input)
AbstractContext
injectExportableParams
in class ErrorContext
input
- pass exportable params in here.Copyright © 2020 Couchbase, Inc.. All rights reserved.