Home Reference Source Repository

lib/error.js

/**
 * Copyright 2015 Oursky Ltd.
 *
 * 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.
 */
export const NotAuthenticated = 101;
export const PermissionDenied = 102;
export const AccessKeyNotAccepted = 103;
export const AccessTokenNotAccepted = 104;
export const InvalidCredentials = 105;
export const InvalidSignature = 106;
export const BadRequest = 107;
export const InvalidArgument = 108;
export const Duplicated = 109;
export const ResourceNotFound = 110;
export const NotSupported = 111;
export const NotImplemented = 112;
export const ConstraintViolated = 113;
export const IncompatibleSchema = 114;
export const AtomicOperationFailure = 115;
export const PartialOperationFailure = 116;
export const UndefinedOperation = 117;
export const PluginUnavailable = 118;
export const PluginTimeout = 119;
export const RecordQueryInvalid = 120;