Skip to content

Conversation

@JakeChampion
Copy link
Contributor

previously we would return the generic message: "Generic error value. This means that some unexpected error occurred during a hostcall."

Now we will return a TypeError with the message format Requested backend named '{0}' does not exist where {0} is the name of the backend that was configured for the request.

Copy link
Contributor

@guybedford guybedford left a comment

Choose a reason for hiding this comment

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

Is there an XQD issue to track an error code for this?

@JakeChampion
Copy link
Contributor Author

Is there an XQD issue to track an error code for this?

There is not, I believe the plan is to not introduce new error codes (until we move to components)

…h does not exist

previously we would return the generic message: "Generic error value. This means that some unexpected error occurred during a hostcall."
@JakeChampion JakeChampion force-pushed the jake/backend-missing-message branch from fb0b8f8 to 046d2eb Compare February 8, 2023 17:30
@JakeChampion JakeChampion enabled auto-merge (squash) February 9, 2023 11:31
@JakeChampion JakeChampion merged commit 486aed1 into main Feb 9, 2023
@JakeChampion JakeChampion deleted the jake/backend-missing-message branch February 9, 2023 11:45
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