template <typename Dump>

struct DumpError

Defined at line 50 of file ../../src/lib/zxdump/include/lib/zxdump/types.h

fit::result

<zxdump

::DumpError

<Dump

>> is used as the return type of

operations that take a Dump function. Usually either Error::status_ will be

ZX_OK and dump_error_ will be set, or dump_error_ will be std::nullopt and

Error::status_ will not be ZX_OK. For dump errors, Error::op_ will be the

name of the

<lib

/zxdump/dump.h> method rather than the Zircon operation.

Public Members

std::optional<std::decay_t<decltype(std::declval<DumpResult<Dump>>().error_value())>> dump_error_

Public Methods

void DumpError<Dump> ()

Defined at line 51 of file ../../src/lib/zxdump/include/lib/zxdump/types.h

void DumpError<Dump> (const DumpError<Dump> & )

Defined at line 52 of file ../../src/lib/zxdump/include/lib/zxdump/types.h

void DumpError<Dump> (DumpError<Dump> && )

Defined at line 53 of file ../../src/lib/zxdump/include/lib/zxdump/types.h

void DumpError<Dump> (const Error & other)

Defined at line 55 of file ../../src/lib/zxdump/include/lib/zxdump/types.h

DumpError<Dump> & operator= (const DumpError<Dump> & )

Defined at line 57 of file ../../src/lib/zxdump/include/lib/zxdump/types.h

DumpError<Dump> & operator= (DumpError<Dump> && )

Defined at line 58 of file ../../src/lib/zxdump/include/lib/zxdump/types.h