[core] fix composer configuration, for autoload ExceptionCode class
[core] fix ExceptionCode assertion message