Throw error when parameter formatter invalid on parse

closes #1