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

Return meaningfull error messages from contract #69

Merged
merged 1 commit into from
Oct 24, 2023

Conversation

Pandelissym
Copy link
Contributor

  • Removed the X tag from error messages in the contract. This ensures the error message is also returned to the makeOffer call. Now we can match on the error message and display an appropriate error to the user.

closes #68

@Pandelissym Pandelissym merged commit df362cf into develop Oct 24, 2023
2 checks passed
@Pandelissym Pandelissym deleted the contract/meaningfull-error-messages branch October 24, 2023 08:25
carlos-kryha added a commit that referenced this pull request Nov 10, 2023
Includes the following work:
- #81 
- #77 
- #71 
- #70 
- #69 
- #67 
- #66 
- #63 (note this update requires a core-eval proposal to take effect)

QA is tracked
[here](https://docs.google.com/spreadsheets/d/1bBJhr73o4W2rd3oYNpK_xET_3m6kNYYbeaDvMKIRQRM/edit?usp=sharing)

---------

Co-authored-by: Privilege Mendes <20317699+privilegemendes@users.noreply.github.com>
Co-authored-by: Axel Verheul <axel@kryha.io>
Co-authored-by: Xabier <146219902+snthtcs@users.noreply.github.com>
Co-authored-by: Xabier Almazor <xabier@Xabiers-MBP.home>
Co-authored-by: Xabier Almazor <xabier@Xabiers-MBP.localdomain>
Co-authored-by: Wietze <wietze@kryha.io>
Co-authored-by: Xabier Almazor Telek <xabier@kryha.io>
Co-authored-by: Nick K <nick.koster@gmail.com>
Co-authored-by: Nick Koster <nick@kryha.io>
Co-authored-by: Pandelis Symeonidis <pandelis@kryha.io>
Co-authored-by: Pandelis Symeonidis <54764628+Pandelissym@users.noreply.github.com>
Co-authored-by: MangoDream1 <MangoDream1@users.noreply.github.com>
Co-authored-by: Synthetics <snthtcs@Syntheticss-MBP.localdomain>
snthtcs added a commit that referenced this pull request Nov 13, 2023
Includes the following work:
- #81 
- #77 
- #71 
- #70 
- #69 
- #67 
- #66 
- #63 (note this update requires a core-eval proposal to take effect)

QA is tracked
[here](https://docs.google.com/spreadsheets/d/1bBJhr73o4W2rd3oYNpK_xET_3m6kNYYbeaDvMKIRQRM/edit?usp=sharing)

---------

Co-authored-by: Privilege Mendes <20317699+privilegemendes@users.noreply.github.com>
Co-authored-by: Axel Verheul <axel@kryha.io>
Co-authored-by: Xabier Almazor <xabier@Xabiers-MBP.home>
Co-authored-by: Xabier Almazor <xabier@Xabiers-MBP.localdomain>
Co-authored-by: Wietze <wietze@kryha.io>
Co-authored-by: CARLOS TRIGO <carlos@kryha.io>
Co-authored-by: Xabier Almazor Telek <xabier@kryha.io>
Co-authored-by: Nick K <nick.koster@gmail.com>
Co-authored-by: Nick Koster <nick@kryha.io>
Co-authored-by: carlos-kryha <97608823+carlos-kryha@users.noreply.github.com>
Co-authored-by: Pandelis Symeonidis <pandelis@kryha.io>
Co-authored-by: Pandelis Symeonidis <54764628+Pandelissym@users.noreply.github.com>
Co-authored-by: MangoDream1 <MangoDream1@users.noreply.github.com>
Co-authored-by: Synthetics <snthtcs@Syntheticss-MBP.localdomain>
Co-authored-by: Synthetics <snthtcs@Syntheticss-MBP.home>
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.

Improvement: Ensure contract returns meaningful errors
2 participants