private HttpResponseHandler<SdkBaseException> createErrorResponseHandler(JsonErrorShapeMetadata... errorShapeMetadata) {
        return protocolFactory.createErrorResponseHandler(new JsonErrorResponseMetadata().withErrorShapes(Arrays.asList(errorShapeMetadata)));
    }
Create the error response handler for the operation.

@param errorShapeMetadata
       Error metadata for the given operation
@return Configured error response handler to pass to HTTP layer
frontend-service-client/src/main/java/com/amazonaws/blox/BloxClient.java