function getError(value) {
			return value instanceof Error ? value : new Error(value);
		}
Returns an Error instance from the passed value, if the value is not
already an Error instance.

@private
@param  {*} value [description]
@returns {Error}       [description]