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

Add ability to inject exception code in LocalizedException #9363

Merged
merged 1 commit into from
May 9, 2017

Conversation

adragus-inviqa
Copy link
Contributor

@adragus-inviqa adragus-inviqa commented Apr 22, 2017

I'm not sure why you've chosen to always pass in 0. It's so much easier to work with codes.

This change should be BC.

add exception code
@ishakhsuvarov ishakhsuvarov self-assigned this Apr 24, 2017
@ishakhsuvarov ishakhsuvarov added this to the April 2017 milestone Apr 24, 2017
@ishakhsuvarov
Copy link
Contributor

@adragus-inviqa Could you please update the test for the LocalizedExceptionTest to verify the code as well?
Thanks!

@adragus-inviqa
Copy link
Contributor Author

Will do. I'll need to remove the dust off my M2 unit testing skillz, though. Gimme some time.

@ishakhsuvarov
Copy link
Contributor

@adragus-inviqa Let me know if you need any assistance with this

@ishakhsuvarov
Copy link
Contributor

@adragus-inviqa I've added unit test, will proceed with the merge.

@adragus-inviqa
Copy link
Contributor Author

Many thanks.

@magento-team magento-team merged commit 4162f32 into magento:develop May 9, 2017
magento-team pushed a commit that referenced this pull request May 9, 2017
magento-team pushed a commit that referenced this pull request May 9, 2017
[EngCom] Public Pull Requests

 - MAGETWO-68979: Fix breadcrumbs extra space #9514
 - MAGETWO-68977: fix for Class Magento\Framework\Console\CLI not found in case sensitive scenarios #9539
 - MAGETWO-68861: Fix data deletion using the multiple delete command #9446
 - MAGETWO-67722: Add ability to inject exception code in LocalizedException #9363
@magento-team
Copy link
Contributor

@adragus-inviqa thank you for your contribution. Your Pull Request has been successfully merged

@adragus-inviqa adragus-inviqa deleted the patch-5 branch May 9, 2017 09:43
magento-team pushed a commit that referenced this pull request Jun 29, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants