@Stability.Uncommitted public class SubDocumentErrorContext extends ErrorContext
Context.ExportFormat| Constructor and Description |
|---|
SubDocumentErrorContext(KeyValueErrorContext kvContext,
int index,
String path,
SubDocumentOpResponseStatus status,
AbstractContext context,
String serverError) |
| 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.
|
responseStatusexportAsMap, exportAsString, toStringpublic SubDocumentErrorContext(KeyValueErrorContext kvContext, int index, String path, SubDocumentOpResponseStatus status, @Nullable AbstractContext context, @Nullable String serverError)
public int index()
public void injectExportableParams(Map<String,Object> input)
AbstractContextinjectExportableParams in class ErrorContextinput - pass exportable params in here.Copyright © 2024 Couchbase, Inc.. All rights reserved.