Lines Matching refs:Error
8 use super::{Error, OutOfMemory};
90 $crate::error::Error::from_format_args($crate::error::macros::format_args!($message))
95 …$crate::error::Error::from_format_args($crate::error::macros::format_args!($message , $( $args )* …
263 impl AnyhowCtorTrait for &anyhow::Error {} implementation
269 pub fn construct(&self, anyhow_error: ::anyhow::Error) -> Error { in construct() argument
270 Error::from_anyhow(anyhow_error) in construct()
282 impl<E: core::error::Error + Send + Sync + 'static> NewCtorTrait for &&E {}
288 pub fn construct<E>(&self, error: E) -> Error in construct()
290 E: core::error::Error + Send + Sync + 'static, in construct()
292 Error::new(error) in construct()
309 pub fn construct<M>(&self, message: M) -> Error in construct()
313 Error::msg(message) in construct()
338 Err(fmt::Error) in write_str()
344 impl Error { impl
358 Error::msg(f.message) in from_format_args()
361 Some(oom) => Error::new(oom), in from_format_args()
362 None => Error::new(fmt_error), in from_format_args()