Skip to content

Add an exception interface #26

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

Merged
merged 1 commit into from
Jan 11, 2013
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion lib/Github/Exception/ErrorException.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
*
* @author Joseph Bielawski <stloyd@gmail.com>
*/
class ErrorException extends \ErrorException
class ErrorException extends \ErrorException implements ExceptionInterface
{

}
8 changes: 8 additions & 0 deletions lib/Github/Exception/ExceptionInterface.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
<?php

namespace Github\Exception;

interface ExceptionInterface
{

}
2 changes: 1 addition & 1 deletion lib/Github/Exception/InvalidArgumentException.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
*
* @author Joseph Bielawski <stloyd@gmail.com>
*/
class InvalidArgumentException extends \InvalidArgumentException
class InvalidArgumentException extends \InvalidArgumentException implements ExceptionInterface
{

}
2 changes: 1 addition & 1 deletion lib/Github/Exception/RuntimeException.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
*
* @author Joseph Bielawski <stloyd@gmail.com>
*/
class RuntimeException extends \RuntimeException
class RuntimeException extends \RuntimeException implements ExceptionInterface
{

}