Exception catching and return result code based on finded errors