protected ParsingError error ( ErrorCode errorCode , ErrorDetails ... details ) { return new ParsingError ( errorCode , this . context . getCommandFile ( ) , this . line , details ) ; }
A shortcut method to create a parsing error with relevant information .