 		else
 			err = new Error
 			err.message = "The interpolation method #{config.method} is invalid."
+			throw err
 
 	#Make sure there's at least one element in the input array
 	if not arr.length
 		err = new Error
 		err.message = 'Array must have at least one element.'
+		throw err
 
 	#See what type of data we're dealing with
 	dataType = Object.prototype.toString.call arr[0]

		else 
			err = new Error
			err.message = 'Invalid element type: #{dataType}'




###
Smooth.js version 0.1.1

Turn arrays into smooth functions.

