View: throw error when string/array is not provided to "compile"