Class ViewErrorContext
java.lang.Object
com.couchbase.client.core.cnc.AbstractContext
com.couchbase.client.core.error.context.ErrorContext
com.couchbase.client.core.error.context.ViewErrorContext
- All Implemented Interfaces:
Context
@Uncommitted public class ViewErrorContext extends ErrorContext
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.couchbase.client.core.cnc.Context
Context.ExportFormat -
Constructor Summary
Constructors Constructor Description ViewErrorContext(ResponseStatus responseStatus, RequestContext requestContext, ViewError viewError, int httpStatus) -
Method Summary
Modifier and Type Method Description ViewErrorerror()inthttpStatus()voidinjectExportableParams(Map<String,Object> input)This method needs to be implemented by the actual context implementations to inject the params they need for exporting.RequestContextrequestContext()Methods inherited from class com.couchbase.client.core.error.context.ErrorContext
responseStatusMethods inherited from class com.couchbase.client.core.cnc.AbstractContext
exportAsString, toString
-
Constructor Details
-
ViewErrorContext
public ViewErrorContext(ResponseStatus responseStatus, RequestContext requestContext, ViewError viewError, int httpStatus)
-
-
Method Details
-
requestContext
-
httpStatus
public int httpStatus() -
error
-
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.
-