Hi everybody! Where can I find list of all codes from $exception->getCode() ? like 2 is for 'cannot load controller', 5 = 'action not found' etc.
Thank you.
I'm not sure such a list exists. You can call $exception->getMessage() to get the text equivalent.
$exception->getMessage()
My guess is you'll have to look at the C source.