Throw error when parameter format invalid on parse

closes #1
0.3.0