errors.h & errors.c added(error types defined)