function error_handle

[edit]
static int error_handle(int ex)