template <typename E = Errno, bool include_message = true, typename = std::enable_if_t<!std::is_same_v<E, int>>>

class Error

Defined at line 215 of file ../../third_party/android/platform/system/libbase/include/android-base/result.h

Public Methods

void Error<E, include_message, type-parameter-0-2> ()

Defined at line 217 of file ../../third_party/android/platform/system/libbase/include/android-base/result.h

template <typename P, typename = std::enable_if_t<std::is_convertible_v<P, E>>>
void Error<E, include_message, type-parameter-0-2> (P && code)

NOLINTNEXTLINE(google-explicit-constructor)

Defined at line 220 of file ../../third_party/android/platform/system/libbase/include/android-base/result.h

template <typename T, typename P, typename = std::enable_if_t<std::is_convertible_v<E, P>>>
android::base::expected<T, ResultError<P>> operator android::base::expected<type-parameter-1-0, android::base::ResultError<type-parameter-1-1, true> > ()

NOLINTNEXTLINE(google-explicit-constructor)

Defined at line 224 of file ../../third_party/android/platform/system/libbase/include/android-base/result.h

template <typename T, typename P, typename = std::enable_if_t<std::is_convertible_v<E, P>>>
android::base::expected<T, ResultError<P, false>> operator android::base::expected<type-parameter-1-0, android::base::ResultError<type-parameter-1-1, false> > ()

NOLINTNEXTLINE(google-explicit-constructor)

Defined at line 230 of file ../../third_party/android/platform/system/libbase/include/android-base/result.h

template <typename T>
Error<E, include_message, type-parameter-0-2> & operator<< (T && t)

Defined at line 235 of file ../../third_party/android/platform/system/libbase/include/android-base/result.h

const std::string str ()

Defined at line 250 of file ../../third_party/android/platform/system/libbase/include/android-base/result.h

void Error<E, include_message, type-parameter-0-2> (const Error<E, include_message, type-parameter-0-2> & )

Defined at line 262 of file ../../third_party/android/platform/system/libbase/include/android-base/result.h

void Error<E, include_message, type-parameter-0-2> (Error<E, include_message, type-parameter-0-2> && )

Defined at line 263 of file ../../third_party/android/platform/system/libbase/include/android-base/result.h

Error<E, include_message, type-parameter-0-2> & operator= (const Error<E, include_message, type-parameter-0-2> & )

Defined at line 264 of file ../../third_party/android/platform/system/libbase/include/android-base/result.h

Error<E, include_message, type-parameter-0-2> & operator= (Error<E, include_message, type-parameter-0-2> && )

Defined at line 265 of file ../../third_party/android/platform/system/libbase/include/android-base/result.h

Friends

template <typename... Args>
Error Error (fmt::format_string<Args...> fmt, const Args &... args)
template <typename... Args>
Error Error (fmt::format_string<Args...> fmtconst Args &... args)