-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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: improve AccountNotProgramOwned error msg or add new error #1100
Comments
Do we want to change the wording of the error enum as well (could break some projects), from |
@losman0s |
@paul-schaaf For my sanity, do you have a concrete example/scenario where the current error would be thrown and be misleading? |
@losman0s when you have an |
@paul-schaaf Ok, so the macro behaves correctly, and just reports confusingly. i.e: when we specify through the |
@losman0s correct |
Current error msg is:
But
Account
can also wrap types that are owned by a different program (same forAccountLoader
)how about
The text was updated successfully, but these errors were encountered: