The threat and error management