Returns error messages for further process by other library