Skip to content

Conversation

ConnorLinfoot
Copy link
Member

Moves the error from just a string to an enum along with a custom exception. This is better than a free text field since developers will know what reasons exist and may be sent to the client.

this change is a breaking change once rolled server-side. but since we're in the preview phase and errors are already unlikely to be encountered I'm comfortable with making this change currently.

@ConnorLinfoot ConnorLinfoot marked this pull request as ready for review April 11, 2024 18:24
@ConnorLinfoot ConnorLinfoot added the pending server changes Pending changes to be rolled on the server before this can be merged label Apr 11, 2024
@ConnorLinfoot ConnorLinfoot changed the title Convert error handling to a provided enum Improve error handling to be more defined Apr 11, 2024
@ConnorLinfoot ConnorLinfoot merged commit 1b6b3dc into master Apr 11, 2024
@ConnorLinfoot ConnorLinfoot deleted the error branch April 11, 2024 19:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pending server changes Pending changes to be rolled on the server before this can be merged
Development

Successfully merging this pull request may close these issues.

2 participants