Blame view

3rdparty/ffmpeg-4.4.4/x264/tools/digress/errors.py 1.04 KB
f244cbd5   Hu Chunming   ffmpeg支持h264编码
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
59
60
61
62
63
  """
  Digress errors.
  """
  
  class DigressError(Exception):
      """
      Digress error base class.
      """
  
  class NoSuchTestError(DigressError):
      """
      Raised when no such test exists.
      """
  
  class DisabledTestError(DigressError):
      """
      Test is disabled.
      """
  
  class SkippedTestError(DigressError):
      """
      Test is marked as skipped.
      """
  
  class DisabledCaseError(DigressError):
      """
      Case is marked as disabled.
      """
  
  class SkippedCaseError(DigressError):
      """
      Case is marked as skipped.
      """
  
  class FailedTestError(DigressError):
      """
      Test failed.
      """
  
  class ComparisonError(DigressError):
      """
      Comparison failed.
      """
  
  class IncomparableError(DigressError):
      """
      Values cannot be compared.
      """
  
  class AlreadyRunError(DigressError):
      """
      Test/case has already been run.
      """
  
  class SCMError(DigressError):
      """
      Error occurred in SCM.
      """
      def __init__(self, message):
          self.message = message.replace("\n", " ")
  
      def __str__(self):
          return self.message