replace error_t with int
0.2.5