master
register
register: async (server, options) => { const result = Joi.validate(options, schema.options) if (result.error) { throw new Error(result.error) }