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

Add remoteObjectParseError #1134

Merged
merged 2 commits into from Dec 15, 2023
Merged

Add remoteObjectParseError #1134

merged 2 commits into from Dec 15, 2023

Conversation

ankur22
Copy link
Collaborator

@ankur22 ankur22 commented Dec 12, 2023

What?

Adds a new remoteObjectParseError error type.

Why?

For use when parsing of remote objects fails. It should hopefully help identify what exactly failed to parse.

Checklist

  • I have performed a self-review of my code
  • I have added tests for my changes
  • I have commented on my code, particularly in hard-to-understand areas

Related PR(s)/Issue(s)

Updates: #987

@ankur22 ankur22 changed the base branch from main to add/array-parsing December 12, 2023 10:56
inancgumus
inancgumus previously approved these changes Dec 13, 2023
Copy link
Member

@inancgumus inancgumus left a comment

Choose a reason for hiding this comment

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

👍

ka3de
ka3de previously approved these changes Dec 14, 2023
Copy link
Collaborator

@ka3de ka3de left a comment

Choose a reason for hiding this comment

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

LGTM.

Base automatically changed from add/array-parsing to main December 15, 2023 11:11
@ankur22 ankur22 dismissed stale reviews from ka3de and inancgumus December 15, 2023 11:11

The base branch was changed.

This error can be used to encapsulate the details when a remote object
can not be parsed successfully.
When the json parsing fails we should work with remoteObjectParseError
so that we can hopefully identify what exactly cannot be parsed.
Copy link
Member

@inancgumus inancgumus left a comment

Choose a reason for hiding this comment

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

🤞

@ankur22 ankur22 merged commit 802527b into main Dec 15, 2023
16 checks passed
@ankur22 ankur22 deleted the add/remote-error branch December 15, 2023 13:00
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.

None yet

3 participants