[BUGFIX] Fix fatal error using extensionName without custom controller
[TASK] Use class constant to store specially treated Exception code
Merge pull request #127 from NamelessCoder/errorhandling

[BUGFIX] Fix fatal error using extensionName without custom controller