[DEV] add gitignore
[DEV]throw exceptions according to errors