blob: 0f793365e04de4fb3e301c3e97ec27eec08feb64 [file] [log] [blame]
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08001/*
2 *
Jan Tattermusch7897ae92017-06-07 22:57:36 +02003 * Copyright 2015 gRPC authors.
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08004 *
Jan Tattermusch7897ae92017-06-07 22:57:36 +02005 * 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
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -08008 *
Jan Tattermusch7897ae92017-06-07 22:57:36 +02009 * http://www.apache.org/licenses/LICENSE-2.0
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -080010 *
Jan Tattermusch7897ae92017-06-07 22:57:36 +020011 * 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.
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -080016 *
17 */
18
yang-g9e2f90c2015-08-21 15:35:03 -070019#include <grpc++/support/status.h>
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -080020
21namespace grpc {
22
Yang Gao6baa9b62015-03-17 10:49:39 -070023const Status& Status::OK = Status();
Yang Gaoc1a2c312015-06-16 10:59:46 -070024const Status& Status::CANCELLED = Status(StatusCode::CANCELLED, "");
Nicolas Nobleb7ebd3b2014-11-26 16:33:03 -080025
Craig Tiller190d3602015-02-18 09:23:38 -080026} // namespace grpc