Searched refs:custom_error (Results 1 – 2 of 2) sorted by relevance
/ohos5.0/commonlibrary/rust/ylong_runtime/ylong_runtime/tests/ |
H A D | error.rs | 24 let custom_error = ScheduleError::new(ErrorKind::TaskShutdown, "task shutdown"); in sdv_schedule_error_format() localVariable 70 let custom_error = ScheduleError::new(ErrorKind::TaskShutdown, "task shutdown"); in sdv_schedule_error_kind() localVariable 73 assert_eq!(format!("{:?}", custom_error.kind()), "TaskShutdown"); in sdv_schedule_error_kind() 84 let custom_error = ScheduleError::new(ErrorKind::TaskShutdown, "task shutdown"); in sdv_schedule_error_into_inner() localVariable 88 format!("{}", custom_error.into_inner().unwrap()), in sdv_schedule_error_into_inner()
|
/ohos5.0/commonlibrary/rust/ylong_runtime/ylong_runtime/src/ |
H A D | error.rs | 208 let custom_error = ScheduleError::new(ErrorKind::TaskShutdown, "task shutdown"); in ut_schedule_error_debug() localVariable 225 let custom_error = ScheduleError::new(ErrorKind::TaskShutdown, "custom task shutdown"); in ut_schedule_error_display() localVariable 268 let custom_error = ScheduleError::new(ErrorKind::TaskShutdown, "task shutdown"); in ut_schedule_error_kind() localVariable 271 assert_eq!(format!("{:?}", custom_error.kind()), "TaskShutdown"); in ut_schedule_error_kind() 282 let custom_error = ScheduleError::new(ErrorKind::TaskShutdown, "task shutdown"); in ut_schedule_error_into_inner() localVariable 286 format!("{}", custom_error.into_inner().unwrap()), in ut_schedule_error_into_inner()
|