blob: 7d2bdd5566de6baf0a37dada1e97d5d3dfa29a06 [file] [log] [blame]
Yijie Maf99b8b52022-12-23 07:01:531//
2//
3// Copyright 2015 gRPC authors.
4//
5// Licensed under the Apache License, Version 2.0 (the "License");
6// you may not use this file except in compliance with the License.
7// You may obtain a copy of the License at
8//
9// http://www.apache.org/licenses/LICENSE-2.0
10//
11// Unless required by applicable law or agreed to in writing, software
12// distributed under the License is distributed on an "AS IS" BASIS,
13// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14// See the License for the specific language governing permissions and
15// limitations under the License.
16//
17//
Nicolas Nobleb7ebd3b2014-11-27 00:33:0318
Muxi Yan0e00c432018-01-26 23:39:3219#include <grpcpp/support/status.h>
Nicolas Nobleb7ebd3b2014-11-27 00:33:0320
Craig Tillerdbb51642024-10-04 16:41:5621#include <memory>
22
Nicolas Nobleb7ebd3b2014-11-27 00:33:0323namespace grpc {
24
Yang Gao6baa9b62015-03-17 17:49:3925const Status& Status::OK = Status();
Yang Gaoc1a2c312015-06-16 17:59:4626const Status& Status::CANCELLED = Status(StatusCode::CANCELLED, "");
Nicolas Nobleb7ebd3b2014-11-27 00:33:0327
Craig Tiller190d3602015-02-18 17:23:3828} // namespace grpc