Add Allocator_Error
return to core:container/priority_queue
procedures
#5047
Closed
mororo18
started this conversation in
Ideas/Requests
Replies: 1 comment 1 reply
-
Good idea. Turned it into an Issue @ #5048. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Some procedures in
core:container/priority_queue
, such asinit
, may fail due to allocation errors but currently do not return any error information. This proposal suggests updating such procedures to returnruntime.Allocator_Error
to properly propagate allocation failures.Example:
Beta Was this translation helpful? Give feedback.
All reactions