Skip to content

Conversation

@threeal
Copy link
Owner

@threeal threeal commented Jun 22, 2023

Modified the Error struct with the following changes:

  • Changed the message member to be stored as std::string instead of const char*.
  • Updated the constructor to support string formatting using the {fmt} library.

Closes #8.

@threeal threeal added the feat label Jun 22, 2023
@threeal threeal self-assigned this Jun 22, 2023
@threeal threeal marked this pull request as ready for review June 22, 2023 06:30
@threeal threeal merged commit 7af81f1 into main Jun 22, 2023
@threeal threeal deleted the error-format branch June 22, 2023 06:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Error: Create Error Object with {fmt}

2 participants