get error info in init obj