def error(self, argparser, target, message):
        """
        This was used as part of the original non-recursive lookup for
        the target parser.
        """

        warnings.warn(
            'Runtime.error is deprecated and will be removed by calmjs-4.0.0',
            DeprecationWarning)
        details = self.get_argparser_details(argparser)
        argparser = details.subparsers[target] if details else self.argparser
        argparser.error(message)
def error ( self , argparser , target , message ) : warnings . warn ( 'Runtime.error is deprecated and will be removed by calmjs-4.0.0' , DeprecationWarning ) details = self . get_argparser_details ( argparser ) argparser = details . subparsers [ target ] if details else self . argparser argparser . error ( message )
This was used as part of the original non-recursive lookup for
        the target parser.