Skip to content

Conversation

@baptiste-marchand
Copy link
Contributor

@baptiste-marchand baptiste-marchand commented May 29, 2025

Description

This PR introduces custom error classes so that errors are correctly handed over from the Multichain API to the user of the Multichain API Client.

A necessary refactor was also introduced making the transport interface agnostic from the Multichain API

@baptiste-marchand baptiste-marchand requested a review from a team May 29, 2025 09:58
@baptiste-marchand baptiste-marchand marked this pull request as draft May 29, 2025 09:58
Copy link
Contributor

@EdouardBougon EdouardBougon left a comment

Choose a reason for hiding this comment

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

There is some types error.
We can discuss about the code to move to multichain

@baptiste-marchand baptiste-marchand force-pushed the feat/custom-error-classes branch from 0b687f5 to 0ca8b22 Compare June 2, 2025 12:43
@baptiste-marchand baptiste-marchand force-pushed the feat/custom-error-classes branch from 0ca8b22 to 798351d Compare June 11, 2025 13:22
@baptiste-marchand baptiste-marchand force-pushed the feat/custom-error-classes branch from c0006af to 7d6325a Compare June 12, 2025 09:29
@baptiste-marchand baptiste-marchand marked this pull request as ready for review June 12, 2025 12:38
Copy link
Contributor

@EdouardBougon EdouardBougon left a comment

Choose a reason for hiding this comment

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

👍 LGTM

resolve(msg.data.result);
}
if (resolve) {
resolve(msg);
Copy link
Contributor

Choose a reason for hiding this comment

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

resolve(msg.data);

@baptiste-marchand baptiste-marchand merged commit 9fae09d into main Jun 24, 2025
21 checks passed
@baptiste-marchand baptiste-marchand deleted the feat/custom-error-classes branch June 24, 2025 14:47
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.

3 participants