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 custom exception for incorrect page #5

Closed
romikoops opened this issue Feb 9, 2013 · 1 comment
Closed

Add custom exception for incorrect page #5

romikoops opened this issue Feb 9, 2013 · 1 comment

Comments

@romikoops
Copy link
Contributor

Now, if page is unexpected we have RuntimeError. it is nice to have something like IncorrectPageError instead.

Example:
RuntimeError: Current url: http://rdv4.reportdrop.net/admin/accounts, expected: (?-mix:a/\w+)
./pages/accounts_page.rb:30:in `launch_account'

@ghost ghost assigned SirNicholas Aug 15, 2013
@romikoops
Copy link
Contributor Author

Done!

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

2 participants