Skip to content
This repository was archived by the owner on May 28, 2025. It is now read-only.

Ensure error handling in CoreGraphics and attendant frameworks happens at API boundaries #1323

@DHowett-MSFT

Description

@DHowett-MSFT
  • 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.

Metadata

Metadata

Assignees

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions