lib/utilities/relationship-utils.js
function getInvalidIncludesError (message) {
  var error = new Error(
    message || 'JSON API resource does not support `include`'
  )
  error.statusCode = statusCodes.BAD_REQUEST
  error.code = statusCodes.BAD_REQUEST
  error.status = statusCodes.BAD_REQUEST

  return error
}
function getInvalidIncludesError (message) {
  var error = new Error(
    message || 'JSON API resource does not support `include`'
  )
  error.statusCode = statusCodes.BAD_REQUEST
  error.code = statusCodes.BAD_REQUEST
  error.status = statusCodes.BAD_REQUEST

  return error
}
function getInvalidIncludesError ( message ) { var error = new Error ( message || 'JSON API resource does not support `include`' ) error . statusCode = statusCodes . BAD_REQUEST error . code = statusCodes . BAD_REQUEST error . status = statusCodes . BAD_REQUEST return error }
Get the invalid includes error.
@public
@memberOf {RelationshipUtils}
@param {String} message
@return {Error}
Get the invalid includes error .