Searched refs:error_handle (Results 1 – 11 of 11) sorted by relevance
51 ErrorHandler::error_handle( in check()61 ErrorHandler::error_handle("Invalid username".to_string(), ExitStatus::InvalidArg); in check()65 ErrorHandler::error_handle("Uid is required".to_string(), ExitStatus::InvalidCmdSyntax); in check()100 ErrorHandler::error_handle( in check_group_gid()115 ErrorHandler::error_handle( in check_group_gid()127 ErrorHandler::error_handle( in check_group_gid()141 ErrorHandler::error_handle( in check_group_gid()177 ErrorHandler::error_handle("groupadd failed".to_string(), ExitStatus::GroupaddFail); in check_group_gid()228 ErrorHandler::error_handle( in home()300 ErrorHandler::error_handle(format!("{} already exists", home), ExitStatus::InvalidArg); in check_home()[all …]
32 ErrorHandler::error_handle( in parse()41 ErrorHandler::error_handle( in parse()53 ErrorHandler::error_handle( in parse()117 ErrorHandler::error_handle( in parse()136 ErrorHandler::error_handle("Invalid option".to_string(), ExitStatus::InvalidCmdSyntax); in invalid_handle()
24 ErrorHandler::error_handle( in main()31 ErrorHandler::error_handle( in main()
101 fn error_handle(msg: &str) -> ! { in error_handle() function137 error_handle("futex_wait failed"); in futex_wait()186 error_handle("futex wake failed"); in futex_wake()252 error_handle("futexes_addr mmap failed"); in test01()324 error_handle("mmap failed"); in test02()337 error_handle("mmap failed"); in test02()
29 pub fn error_handle(error: String, exit_status: ExitStatus) { in error_handle() method
55 ErrorHandler::error_handle(format!("Can't open file: {}", file_path), exit_status); in open_file()74 ErrorHandler::error_handle( in execute()313 ErrorHandler::error_handle( in execute()