Searched refs:GNException (Results 1 – 2 of 2) sorted by relevance
22 class GNException(Exception): class34 raise GNException("Trying to print a string with a newline in it.")52 raise GNException("Attempting to recursively print a dictionary.")56 raise GNException("Dictionary key is not a string.")63 raise GNException("Unsupported type when printing to GN.")194 raise GNException("Trailing input after parsing:\n " +210 raise GNException("Unexpected token: " + self.input[self.cur:])223 raise GNException("Expected input to parse.")237 raise GNException("Unexpected token: " + self.input[self.cur:])244 raise GNException("Expected an identifier: " + self.input[self.cur:])[all …]
26 with self.assertRaises(gn_helpers.GNException):41 with self.assertRaises(gn_helpers.GNException):44 with self.assertRaises(gn_helpers.GNException):52 with self.assertRaises(gn_helpers.GNException):55 with self.assertRaises(gn_helpers.GNException):58 with self.assertRaises(gn_helpers.GNException):66 with self.assertRaises(gn_helpers.GNException):69 with self.assertRaises(gn_helpers.GNException):72 with self.assertRaises(gn_helpers.GNException):75 with self.assertRaises(gn_helpers.GNException):[all …]