Skip to content
Browse files

NCBC-192: Provide error constant for locate node failure

Change-Id: I70afd2fde695249c3b5dd21994b6d7cbe2d734d4
Reviewed-on: http://review.couchbase.org/23690
Reviewed-by: Matt Ingenthron <matt@couchbase.com>
Tested-by: John C. Zablocki <john@couchbase.com>
  • Loading branch information...
1 parent 81ee653 commit 99fe07357c7dc1346bbff363cd9bcf03519bf87d @johnzablocki johnzablocki committed with John C. Zablocki Jan 3, 2013
Showing with 37 additions and 1 deletion.
  1. +33 −0 src/Couchbase/Constants/ClientErrors.cs
  2. +4 −1 src/Couchbase/Couchbase.csproj
View
33 src/Couchbase/Constants/ClientErrors.cs
@@ -0,0 +1,33 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+
+namespace Couchbase.Constants
+{
+ public static class ClientErrors
+ {
+ public const string FAILURE_NODE_NOT_FOUND = "Unable to locate node";
+ }
+}
+
+#region [ License information ]
+/* ************************************************************
+ *
+ * @author Couchbase <info@couchbase.com>
+ * @copyright 2012 Couchbase, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *
+ * ************************************************************/
+#endregion
View
5 src/Couchbase/Couchbase.csproj
@@ -72,6 +72,7 @@
<ItemGroup>
<Compile Include="Configuration\HttpClientElement.cs" />
<Compile Include="Configuration\IHttpClientConfiguration.cs" />
+ <Compile Include="Constants\ClientErrors.cs" />
<Compile Include="CouchbaseSpatialView`1.cs" />
<Compile Include="CouchbaseSpatialView.cs" />
<Compile Include="CouchbaseSpatialViewBase.cs" />
@@ -171,7 +172,9 @@
<None Include="Config.transform" />
<None Include="Demo.config" />
<None Include="Changes.mdown" />
- <None Include="Couchbase.nuspec" />
+ <None Include="Couchbase.nuspec">
+ <SubType>Designer</SubType>
+ </None>
<None Include="packages.config" />
</ItemGroup>
<ItemGroup>

0 comments on commit 99fe073

Please sign in to comment.
Something went wrong with that request. Please try again.