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

Use regular Result name instead of __Result__ #69

Closed
Brendonovich opened this issue Jan 26, 2024 · 2 comments
Closed

Use regular Result name instead of __Result__ #69

Brendonovich opened this issue Jan 26, 2024 · 2 comments

Comments

@Brendonovich
Copy link
Collaborator

it's annoying + unnecessary

@dam5h
Copy link

dam5h commented Feb 20, 2024

Are you able to return a rust Result<T, E> from a command? I would like to use ? operator in commands, but thus far have had to create a custom CommandResult<T, E> which means no ? operator.

@Brendonovich
Copy link
Collaborator Author

you should be able to? in 2.0 it's how we support typesafe error handling

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

No branches or pull requests

3 participants