usestd::alloc::LayoutError;/// Used ass a error Parameter in [`Array`](crate::Array) operations.
#[derive(Debug)]pubstructArrayError(pub String);implFrom<LayoutError>forArrayError{#[inline]fnfrom(err: LayoutError)->Self{
ArrayError(err.to_string())}}