Future postInvocationError()

in lib/client/client.dart [149:163]


  Future<HttpClientResponse> postInvocationError(
      String requestId, InvocationError err) async {
    final request = await _client.postUrl(
      Uri.parse(
        'http://${runtimeApi}/${runtimeApiVersion}/runtime/invocation/$requestId/error',
      ),
    );
    request.add(
        utf8.encode(
            json.encode(err)
        )
    );

    return await request.close();
  }