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

lang: Add custom error for signer, mut, has_one, owner and address constraints #913

Merged
merged 7 commits into from
Oct 23, 2021

Conversation

fanatid
Copy link
Contributor

@fanatid fanatid commented Oct 22, 2021

Sorry, that did not add it in #905 but can we add signer, mut, has_one and address too? 🙂

@fanatid fanatid marked this pull request as draft October 22, 2021 19:35
@fanatid fanatid changed the title lang: Add custom error for has_one constraint lang: Add custom error for signer, mut and has_one` constraint Oct 22, 2021
@fanatid fanatid changed the title lang: Add custom error for signer, mut and has_one` constraint lang: Add custom error for signer, mut and has_one constraint Oct 22, 2021
@fanatid fanatid marked this pull request as ready for review October 22, 2021 20:01
@fanatid fanatid changed the title lang: Add custom error for signer, mut and has_one constraint lang: Add custom error for signer, mut, has_one and address constraints Oct 22, 2021
@fanatid fanatid changed the title lang: Add custom error for signer, mut, has_one and address constraints lang: Add custom error for signer, mut, has_one, owner and address constraints Oct 22, 2021
@fanatid
Copy link
Contributor Author

fanatid commented Oct 22, 2021

Sorry for the spam 😞 I think I finished. Please let me know if we need custom error for some other constraint.

@armaniferrante armaniferrante merged commit 58c0077 into coral-xyz:master Oct 23, 2021
@fanatid fanatid deleted the has-one-custom branch October 24, 2021 06:11
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.

2 participants