Skip to content

Store Message as a Shared Constant String #75

Closed
@threeal

Description

@threeal

This issue suggests changing the error::Error struct to store the error message as a shared constant string (std::shared_ptr<const std::string>) instead of a constant string (const std::string). With this modification, it is also recommended to access the message using a method that checks if the shared constant string is null or not, instead of exposing the shared constant string itself.

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions