template <typename CopyStorage>
struct CopyError
Defined at line 239 of file ../../src/lib/zbitl/include/lib/zbitl/view.h
An error type encompassing both read and write failures in accessing the
source and destination storage objects in the context of a copy
operation. In the event of a read error, we expect the write_* fields to
remain unset; in the event of a write error, we expect the read_* fields
to remain unset.
Public Members
basic_string_view zbi_error
uint32_t read_offset
std::optional<typename Traits::error_type> read_error
uint32_t write_offset
std::optional<WriteError> write_error
Public Methods
auto read_error_string (ReadError error)
Defined at line 244 of file ../../src/lib/zbitl/include/lib/zbitl/view.h
auto write_error_string (WriteError error)
Defined at line 246 of file ../../src/lib/zbitl/include/lib/zbitl/view.h