Skip to content

359 feature exception handling#368

Open
VioletaStepanyan wants to merge 10 commits intomain-devfrom
359-feature-exception-handling
Open

359 feature exception handling#368
VioletaStepanyan wants to merge 10 commits intomain-devfrom
359-feature-exception-handling

Conversation

@VioletaStepanyan
Copy link
Contributor

Exception handling

Copy link
Contributor

@ashvardanian ashvardanian left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks bad. Changing indent in every line just to fit try-catch blocks isn’t a solutions.


linked_memory_lock_t arena = linked_memory(c.arena, c.options, c.error);
return_if_error_m(c.error);
safe_section("Geting Snapshot List", c.error, [&] {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Spelling.


linked_memory_lock_t arena = linked_memory(c.arena, c.options, c.error);
return_if_error_m(c.error);
safe_section("Geting Snapshot List", c.error, [&] {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Spelling.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants