'use strict';

Object.defineProperty(exports, "__esModule", {
  value: true
});
var ERR_NOT_FOUND = exports.ERR_NOT_FOUND = 'ERR_NOT_FOUND';
var ERR_UNKNOWN_RECORD_TYPE = exports.ERR_UNKNOWN_RECORD_TYPE = 'ERR_UNKNOWN_RECORD_TYPE';
var ERR_UNKNOWN_VOCABULARY = exports.ERR_UNKNOWN_VOCABULARY = 'ERR_UNKNOWN_VOCABULARY';
var ERR_MISSING_VOCABULARY = exports.ERR_MISSING_VOCABULARY = 'ERR_MISSING_VOCABULARY';
var ERR_UNKNOWN_SUBRESOURCE = exports.ERR_UNKNOWN_SUBRESOURCE = 'ERR_UNKNOWN_SUBRESOURCE';
var ERR_INVALID_CSID = exports.ERR_INVALID_CSID = 'ERR_INVALID_CSID';
var ERR_INVALID_RELATED_TYPE = exports.ERR_INVALID_RELATED_TYPE = 'ERR_INVALID_RELATED_TYPE';
var ERR_INVALID_SORT = exports.ERR_INVALID_SORT = 'ERR_INVALID_SORT';
var ERR_API = exports.ERR_API = 'ERR_API';

//
// Validation errors
//

// Generic validation error. A field value is invalid, for an unspecified reason.
var ERR_VALIDATION = exports.ERR_VALIDATION = 'ERR_VALIDATION';

// An unexpected error occurred while trying to validate.
var ERR_UNABLE_TO_VALIDATE = exports.ERR_UNABLE_TO_VALIDATE = 'ERR_UNABLE_TO_VALIDATE';

// A required field does not have a value.
var ERR_MISSING_REQ_FIELD = exports.ERR_MISSING_REQ_FIELD = 'ERR_MISSING_REQ_FIELD';

// A field's value does not have the expected data type.
var ERR_DATA_TYPE = exports.ERR_DATA_TYPE = 'ERR_DATA_TYPE';