Lines Matching refs:GNException
26 class GNException(Exception): class
39 raise GNException("Trying to print a string with a newline in it.")
57 raise GNException("Attempting to recursively print a dictionary.")
61 raise GNException("Dictionary key is not a string.")
68 raise GNException("Unsupported type when printing to GN.")
210 raise GNException("Trailing input after parsing:\n " +
226 raise GNException("Unexpected token: " + self.input[self.cur:])
238 raise GNException('Expected number but got nothing.')
250 raise GNException("Not a valid number.")
256 raise GNException('Expected string but got nothing.')
259 raise GNException('Expected string beginning in a " but got:\n ' +
268 raise GNException("String ends in a backslash in:\n " +
273 raise GNException('Unterminated string:\n ' + self.input[begin:])
283 raise GNException('Expected list but got nothing.')
287 raise GNException("Expected [ for list but got:\n " +
292 raise GNException("Unterminated list:\n " + self.input)
302 raise GNException("List items not separated by comma.")
316 raise GNException("Unterminated list:\n " + self.input)
335 raise GNException("Expected input to parse.")
349 raise GNException("Unexpected token: " + self.input[self.cur:])
356 raise GNException("Expected an identifier: " + self.input[self.cur:])