error handler with more error constants
Merge branch 'master' of github.com:rezon/sugi