#ifndef MEDIAPIPE_DEPS_STATUS_BUILDER_H_
#define MEDIAPIPE_DEPS_STATUS_BUILDER_H_
#include <memory>
#include <sstream>
#include <utility>
#include "absl/base/attributes.h"
#include "absl/memory/memory.h"
#include "absl/status/status.h"
#include "absl/strings/string_view.h"
#include "mediapipe/framework/deps/source_location.h"
#include "mediapipe/framework/deps/status.h"
namespace mediapipe {
class ABSL_MUST_USE_RESULT StatusBuilder { … };
inline StatusBuilder AlreadyExistsErrorBuilder(
mediapipe::source_location location) { … }
inline StatusBuilder FailedPreconditionErrorBuilder(
mediapipe::source_location location) { … }
inline StatusBuilder InternalErrorBuilder(mediapipe::source_location location) { … }
inline StatusBuilder InvalidArgumentErrorBuilder(
mediapipe::source_location location) { … }
inline StatusBuilder NotFoundErrorBuilder(mediapipe::source_location location) { … }
inline StatusBuilder UnavailableErrorBuilder(
mediapipe::source_location location) { … }
inline StatusBuilder UnimplementedErrorBuilder(
mediapipe::source_location location) { … }
inline StatusBuilder UnknownErrorBuilder(mediapipe::source_location location) { … }
}
#endif