library this-should-never-happen-exception
Extend this exception and throw it anytime something unexpected happens.
nubium/this-should-never-happen-exception
Extend this exception and throw it anytime something unexpected happens.
- Monday, June 11, 2018
- by Northys
- Repository
- 7 Watchers
- 2 Stars
- 0 Installations
- PHP
- 0 Dependents
- 0 Suggesters
- 1 Forks
- 0 Open issues
- 4 Versions
- 0 % Grown
ThisShouldNeverHappenException
, (*1)
There is something which should never happen in every application :), (*2)
Usage
php
switch ($oneOrTwoNothingElse) {
case 1:
echo 1;
break;
case 2:
echo 2;
break;
default:
throw new ThisShouldNeverHappenException('Unexpected input.');
}, (*3)
dev-master
9999999-dev
Extend this exception and throw it anytime something unexpected happens.
Sources
Download
MIT
The Requires
The Development Requires
v1.0
1.0.0.0
Extend this exception and throw it anytime something unexpected happens.
Sources
Download
MIT
The Development Requires
dev-readme-madges
dev-readme-madges
Extend this exception and throw it anytime something unexpected happens.
Sources
Download
MIT
The Development Requires
dev-readme
dev-readme
Extend this exception and throw it anytime something unexpected happens.
Sources
Download
MIT
The Development Requires