Skip to content
This repository has been archived by the owner on Mar 2, 2023. It is now read-only.

use _inform_error() to make error handling more coherent #6

Merged
merged 2 commits into from
Sep 13, 2022

Conversation

JacobOscarGunnarsson
Copy link
Contributor

This will essentially make it easier for us to follow a standard. We also get extra information such as what line the error occurred at.

src/realm_native_lib.cpp Outdated Show resolved Hide resolved
src/realm_native_lib.cpp Outdated Show resolved Hide resolved
src/realm_native_lib.cpp Outdated Show resolved Hide resolved
Copy link
Contributor

@elle-j elle-j left a comment

Choose a reason for hiding this comment

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

I like the refactor. I have minor suggested changes.

src/realm_native_lib.cpp Show resolved Hide resolved
src/realm_native_lib.cpp Show resolved Hide resolved
src/realm_native_lib.cpp Show resolved Hide resolved
src/realm_native_lib.cpp Show resolved Hide resolved
src/realm_native_lib.cpp Show resolved Hide resolved
src/realm_native_lib.cpp Outdated Show resolved Hide resolved
src/realm_native_lib.cpp Show resolved Hide resolved
src/realm_native_lib.cpp Outdated Show resolved Hide resolved
Copy link
Contributor

@gagik gagik left a comment

Choose a reason for hiding this comment

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

LGTM

# Conflicts:
#	src/realm_native_lib.cpp
@JacobOscarGunnarsson JacobOscarGunnarsson merged commit 7cd00b3 into main Sep 13, 2022
@JacobOscarGunnarsson JacobOscarGunnarsson deleted the jg/fix-error-handling branch September 13, 2022 08:55
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants