You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
All internal methods should be able to report failure without aborting, whether through an HRESULT return or a nullptr return.
All external API surface methods should be able to fail where possible.
Some frameworks do not provide for errors to be returned. The reference platform has been observed calling abort().
If there is an opportunity for a failure return, it should be taken. API functions that can return newly-created resources are safe to return nothing and emit a trace error.
The text was updated successfully, but these errors were encountered:
HRESULT
return or anullptr
return.abort()
.The text was updated successfully, but these errors were encountered: