[WIP] Added exceptions
Committed missing file from #4
PHPCS Fixes
Merge pull request #14 from GeeH/feature/#4

[WIP] Added exceptions