-
Notifications
You must be signed in to change notification settings - Fork 7
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
Support for Exception handling #970
Support for Exception handling #970
Conversation
…SettingsForConcurrentRunSimulationBatch
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The API is convenient to use from R.
e.Message | ||
); | ||
} | ||
return new ConcurrencyManagerResult<TResult> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why don't you return this from the try?
Also can you not name the parameter args
Last, don't hesitate to name parameters instead of passing false, or true => success: true
{ | ||
Id = id; | ||
Succeeded = succeeded; | ||
ErrorMessage = error; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Either call the parameter errorMessage or the Member Error. No reason to have different names here.
( | ||
id(args), | ||
true, | ||
simulationResult, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It feels like two constructor. One with Id(artgs) results and there other one just with the id(args)and error instead of asking the caller to pass the right parameters. (e.g. "", false or null true etc..)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
awesome 💪
No description provided.