Last active
December 17, 2015 17:09
-
-
Save malteo/5643751 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* This is what happens when you don't catch a case in your switches, Larry. | |
*/ | |
class ShouldntHappenException extends \RuntimeException | |
{ | |
const COMBO_BREAKER = 'C-C-C-COMBO BREAKER!'; | |
/** | |
* Constructor | |
*/ | |
public function __construct() | |
{ | |
parent::__construct(self::COMBO_BREAKER); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment