Skip to content

Replace exceptions with std::expected #10

@evan-palmer

Description

@evan-palmer

Feature Type

Changing existing functionality in the project

Problem Description

Error-handling in the project is currently done using exceptions. C++ 23 introduced [std::expected](https://en.cppreference.com/w/cpp/utility/expected) which provides a nice alternative to exceptions that makes error-handling a bit cleaner.

Feature Description

Replace exceptions with std::expected.

Alternative Solutions

N/A

Additional Context

No response

Metadata

Metadata

Assignees

Labels

enhancementNew feature or requestlow priorityThis issue or pull request has high priority

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions