Skip to content

Conversation

@karimmtarek
Copy link
Contributor

  • Added Error class
  • Replaced ::StandardError with Lotus::Controller::Error
  • Added a test

README.md Outdated
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@karimmtarek This is unrelated to the scope of your change, please revert it. 😄

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@jodosha Sure I'll revert to the previous readme file :)

@jodosha jodosha self-assigned this Dec 18, 2015
@jodosha jodosha added this to the v0.5.0 milestone Dec 18, 2015
@jodosha
Copy link
Member

jodosha commented Dec 18, 2015

@karimmtarek Hey thanks for this PR. 😄

You replaced all the occurrences of StandardError in the project, but this is unrelated to the scope of your change. With that tests and fixtures we're verifying the behavior of the framework when an exception that comes from the application.

This commit is to revert entirely. 😞

The only change that you should made is for Lotus::Controller::UnknownFormatError that should inherit from Lotus::Controller::Error instead of StandardError.

Can you please fix it? Thanks!

@karimmtarek karimmtarek force-pushed the introduce-lotus-controller-error branch from d72da50 to e51256d Compare December 18, 2015 16:28
@karimmtarek
Copy link
Contributor Author

@jodosha Sorry for missing things up 😞
I'll revert, and see how it goes.

@karimmtarek karimmtarek force-pushed the introduce-lotus-controller-error branch from e51256d to 7f0dcc8 Compare December 18, 2015 16:46
@karimmtarek
Copy link
Contributor Author

@jodosha what about now?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@karimmtarek It lacks of test case for Lotus::Controller::UnknownFormatError 😉

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@jodosha Done 👍

- Added Error class
- Replaced ::StandardError with Lotus::Controller::Error
- Added a test
@karimmtarek karimmtarek force-pushed the introduce-lotus-controller-error branch from 7f0dcc8 to c0cb796 Compare December 18, 2015 17:11
@jodosha
Copy link
Member

jodosha commented Dec 18, 2015

@karimmtarek It looks good now. Thank you! 👍

jodosha added a commit that referenced this pull request Dec 18, 2015
@jodosha jodosha merged commit c6be6c1 into hanami:master Dec 18, 2015
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.

2 participants