HI Adrien, 

I will revert to the previous layout. Will only change the message and the call to fail to raise the correct exception. 
Puppet::ParseError 

Is that correct ?