code: function invalidResponseError(result, host) {
    const message = !!result && !!result.error && !!result.error.message ? `[ethjs-provider-http] ${result.error.message}` : `[ethjs-provider-http] Invalid JSON RPC response from host provider ${host}: ${JSON.stringify(result, null, 2)}`;
    return new Error(message);
  }
docs: InvalidResponseError helper for invalid errors.