Refactor move to src & clean not used
Fix Error not exists toObject in type of Error