microsoft / microsoft/libHttpClient

No platform error message on Microsoft platforms?

Open
#677 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C++
Stars
295
Forks
144
Avg merge
2d 19h
Merged PRs (30d)
2

Description

I noticed that Microsoft platforms return empty string from HCHttpCallResponseGetPlatformNetworkErrorMessage . I suppose platErrCode can be inspected somehow, but it's value is engine specific and will be different between XDK and GDK/WIN32. What is recommended way to get human readable error regardless of the platform?

image

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by tracing HCHttpCallResponseGetPlatformNetworkErrorMessage on the Microsoft platform implementations and inspect how platErrCode is produced and exposed. Determine whether a platform-independent human-readable message is expected, and document or implement a consistent outcome for XDK and GDK/WIN32. Done means the recommended error-reporting behavior is clear and verified on the affected platforms.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
networking
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.