Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The get_property_xxx of Msg class may rise exception #41

Closed
lihuize123123 opened this issue Sep 24, 2024 · 1 comment
Closed

The get_property_xxx of Msg class may rise exception #41

lihuize123123 opened this issue Sep 24, 2024 · 1 comment
Labels
question Further information is requested

Comments

@lihuize123123
Copy link

If the property key is missing, the get_property_xxx will rise an exception. The framework user must write try... catch... to deal the exception. If the interface allows default value passed, then the code of framework user will be simpler.

@halajohn
Copy link
Member

halajohn commented Sep 24, 2024

Do we have any method to distinguish whether the value of a property is the default value when the key is missing, or if the key exists but the value is the default value?

@TEN-framework TEN-framework locked and limited conversation to collaborators Sep 24, 2024
@halajohn halajohn converted this issue into a discussion Sep 24, 2024
@halajohn halajohn added the question Further information is requested label Oct 15, 2024
@halajohn halajohn added this to Kanban Oct 15, 2024
@halajohn halajohn moved this to Todo in Kanban Oct 15, 2024
This issue was closed.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
question Further information is requested
Projects
Status: Todo
Development

No branches or pull requests

2 participants