Class GenericRequestErrorContext
java.lang.Object
com.couchbase.client.core.cnc.AbstractContext
com.couchbase.client.core.error.context.ErrorContext
com.couchbase.client.core.error.context.GenericRequestErrorContext
- All Implemented Interfaces:
Context
- Direct Known Subclasses:
GenericHttpRequestErrorContext
This generic error context can be constructed from any request and will pull out as much information
as possible.
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.couchbase.client.core.cnc.Context
Context.ExportFormat -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidinjectExportableParams(Map<String, Object> input) This method needs to be implemented by the actual context implementations to inject the params they need for exporting.Methods inherited from class com.couchbase.client.core.error.context.ErrorContext
responseStatusMethods inherited from class com.couchbase.client.core.cnc.AbstractContext
exportAsMap, exportAsString, toString
-
Constructor Details
-
GenericRequestErrorContext
-
-
Method Details
-
injectExportableParams
Description copied from class:AbstractContextThis method needs to be implemented by the actual context implementations to inject the params they need for exporting.- Overrides:
injectExportableParamsin classErrorContext- Parameters:
input- pass exportable params in here.
-