Yijie Ma | f99b8b5 | 2022-12-23 07:01:53 | [diff] [blame] | 1 | // |
| 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 Noble | b7ebd3b | 2014-11-27 00:33:03 | [diff] [blame] | 18 | |
Muxi Yan | 0e00c43 | 2018-01-26 23:39:32 | [diff] [blame] | 19 | #include <grpcpp/support/status.h> |
Nicolas Noble | b7ebd3b | 2014-11-27 00:33:03 | [diff] [blame] | 20 | |
Craig Tiller | dbb5164 | 2024-10-04 16:41:56 | [diff] [blame] | 21 | #include <memory> |
| 22 | |
Nicolas Noble | b7ebd3b | 2014-11-27 00:33:03 | [diff] [blame] | 23 | namespace grpc { |
| 24 | |
Yang Gao | 6baa9b6 | 2015-03-17 17:49:39 | [diff] [blame] | 25 | const Status& Status::OK = Status(); |
Yang Gao | c1a2c31 | 2015-06-16 17:59:46 | [diff] [blame] | 26 | const Status& Status::CANCELLED = Status(StatusCode::CANCELLED, ""); |
Nicolas Noble | b7ebd3b | 2014-11-27 00:33:03 | [diff] [blame] | 27 | |
Craig Tiller | 190d360 | 2015-02-18 17:23:38 | [diff] [blame] | 28 | } // namespace grpc |