class ErrorsInBase

Defined at line 27 of file ../../sdk/lib/fidl/cpp/include/lib/fidl/cpp/any_error_in.h

A helper to erase the |DomainError| template type and share the common

printing logic.

Protected Methods

size_t FormatImpl (const char * prelude, FormattingBuffer & buffer, fit::inline_callback<size_t (char *, size_t)> display_error)

|prelude| will be printed first.

|display_error| invokes the |DisplayError

<T

>| specialization.

Returns how many bytes are written, excluding the NUL terminator.

Defined at line 12 of file ../../sdk/lib/fidl/cpp/any_error_in.cc

template <typename DomainError>
size_t Format (FormattingBuffer & buffer, const std::variant<fidl::Error, DomainError> & error)

Defined at line 38 of file ../../sdk/lib/fidl/cpp/include/lib/fidl/cpp/any_error_in.h