MCPcopy Create free account
hub / github.com/KhronosGroup/OpenCOLLADA / ErrorHandler

Class ErrorHandler

Externals/LibXML/python/tests/validSchemas.py:7–15  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5ARG = 'test string'
6
7class ErrorHandler:
8
9 def __init__(self):
10 self.errors = []
11
12 def handler(self, msg, data):
13 if data != ARG:
14 raise Exception, "Error handler did not receive correct argument"
15 self.errors.append(msg)
16
17# Memory debug specific
18libxml2.debugMemory(1)

Callers 1

validSchemas.pyFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected