• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1/*
2 * Copyright 2019 Google LLC.
3 * Licensed under the Apache License, Version 2.0 (the "License");
4 * you may not use this file except in compliance with the License.
5 * You may obtain a copy of the License at
6 *
7 *     https://www.apache.org/licenses/LICENSE-2.0
8 *
9 * Unless required by applicable law or agreed to in writing, software
10 * distributed under the License is distributed on an "AS IS" BASIS,
11 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 * See the License for the specific language governing permissions and
13 * limitations under the License.
14 */
15
16#include "absl/status/status.h"    // IWYU pragma: export
17#include "absl/status/statusor.h"  // IWYU pragma: export
18
19#include "private_join_and_compute/util/status_macros.h"
20
21namespace private_join_and_compute {
22// Aliases StatusCode to be compatible with our code.
23using StatusCode = ::absl::StatusCode;
24// Aliases Status, StatusOr and canonical errors. This alias exists for
25// historical reasons (when this library had a fork of absl::Status).
26using Status = absl::Status;
27template <typename T>
28using StatusOr = absl::StatusOr<T>;
29using absl::InternalError;
30using absl::InvalidArgumentError;
31using absl::IsInternal;
32using absl::IsInvalidArgument;
33using absl::OkStatus;
34}  // namespace private_join_and_compute
35
36
37