chore(core): add exceptions