code: function validate (type, value) {
    switch (type) {
      case 'options':
      case 'preformatterOutput':
      case 'postformatterOutput':
        return joi.attempt(value, validators[type])
      case 'format':
      case 'formatLabel':
      case 'token':
      case 'tokenLabel':
        return joi.assert(value, validators[type])
      default:
        return value
    }
  }
docs: @function
  @public
  
  Validate a value based on the stored and requested
  validators. If the requested validators does not
  exist, get the passed in value.
  
  @param {string} type The requested validator name
  @param {*} value The value to be validated
  @returns {*} The value, if possible validated
  
  @throws The passed in value could not be validated