Skip to content

feat(windows): add error code from async operation#425

Open
acouvreur wants to merge 1 commit intotinygo-org:devfrom
acouvreur:add-windows-async-error-details
Open

feat(windows): add error code from async operation#425
acouvreur wants to merge 1 commit intotinygo-org:devfrom
acouvreur:add-windows-async-error-details

Conversation

@acouvreur
Copy link

@acouvreur acouvreur commented Mar 17, 2026

With the addition of IAsyncInfo in winrt-go: saltosystems/winrt-go#118

We can now extract the actual asynchronous operation error code.

Before:

write device name: failed to write device name: async operation failed with status 3                                                                            

After:

write device name: failed to write device name: async operation failed with status 3: HRESULT 0x80070005                                                                                

This bug report is from my actual code, I have yet to investigate why I get a HRESULT 0x80070005 😄

But, I can actually debug it now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant