File: exceptions.py

package info (click to toggle)
python-xsdata 24.1-2
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 2,936 kB
  • sloc: python: 29,257; xml: 404; makefile: 27; sh: 6
file content (58 lines) | stat: -rw-r--r-- 1,352 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
class CodeGenerationError(TypeError):
    """Unexpected state during code generation related errors."""


class CodeGenerationWarning(Warning):
    """Recovered errors during code generation recovered errors."""


class GeneratorConfigError(CodeGenerationError):
    """Unexpected state during generator config related errors."""


class ConverterError(ValueError):
    """Converting values between document/python types related errors."""


class ConverterWarning(Warning):
    """Converting values between document/python types recovered errors."""


class ParserError(ValueError):
    """Parsing related errors."""


class XmlHandlerError(ValueError):
    """Xml handler related errors."""


class XmlWriterError(ValueError):
    """Xml writer related errors."""


class SerializerError(ValueError):
    """Serializing related errors."""


class XmlContextError(ValueError):
    """Unhandled behaviour during data binding."""


class SchemaValueError(ValueError):
    """Schema definitions related errors."""


class DefinitionsValueError(ValueError):
    """Service definitions related errors."""


class AnalyzerValueError(ValueError):
    """Unhandled behaviour during class analyze process.."""


class ResolverValueError(ValueError):
    """Dependencies related errors."""


class ClientValueError(ValueError):
    """Client related errors."""