Debian Codegraph @

docs/images/custom_error.svg

raw
1 <svg class="rich-terminal" viewBox="0 0 994 318.4" xmlns="http://www.w3.org/2000/svg">
2 <!-- Generated with Rich https://www.textualize.io -->
3 <style>
4
5 @font-face {
6 font-family: "Fira Code";
7 src: local("FiraCode-Regular"),
8 url("https://cdnjs.cloudflare.com/ajax/libs/firacode/6.2.0/woff2/FiraCode-Regular.woff2") format("woff2"),
9 url("https://cdnjs.cloudflare.com/ajax/libs/firacode/6.2.0/woff/FiraCode-Regular.woff") format("woff");
10 font-style: normal;
11 font-weight: 400;
12 }
13 @font-face {
14 font-family: "Fira Code";
15 src: local("FiraCode-Bold"),
16 url("https://cdnjs.cloudflare.com/ajax/libs/firacode/6.2.0/woff2/FiraCode-Bold.woff2") format("woff2"),
17 url("https://cdnjs.cloudflare.com/ajax/libs/firacode/6.2.0/woff/FiraCode-Bold.woff") format("woff");
18 font-style: bold;
19 font-weight: 700;
20 }
21
22 .terminal-2513664136-matrix {
23 font-family: Fira Code, monospace;
24 font-size: 20px;
25 line-height: 24.4px;
26 font-variant-east-asian: full-width;
27 }
28
29 .terminal-2513664136-title {
30 font-size: 18px;
31 font-weight: bold;
32 font-family: arial;
33 }
34
35 .terminal-2513664136-r1 { fill: #c5c8c6 }
36 .terminal-2513664136-r2 { fill: #d0b344 }
37 .terminal-2513664136-r3 { fill: #68a0b3;font-weight: bold }
38 .terminal-2513664136-r4 { fill: #98729f;font-style: italic; }
39 .terminal-2513664136-r5 { fill: #68a0b3;font-weight: bold;font-style: italic; }
40 .terminal-2513664136-r6 { fill: #cc555a }
41 </style>
42
43 <defs>
44 <clipPath id="terminal-2513664136-clip-terminal">
45 <rect x="0" y="0" width="975.0" height="267.4" />
46 </clipPath>
47 <clipPath id="terminal-2513664136-line-0">
48 <rect x="0" y="1.5" width="976" height="24.65"/>
49 </clipPath>
50 <clipPath id="terminal-2513664136-line-1">
51 <rect x="0" y="25.9" width="976" height="24.65"/>
52 </clipPath>
53 <clipPath id="terminal-2513664136-line-2">
54 <rect x="0" y="50.3" width="976" height="24.65"/>
55 </clipPath>
56 <clipPath id="terminal-2513664136-line-3">
57 <rect x="0" y="74.7" width="976" height="24.65"/>
58 </clipPath>
59 <clipPath id="terminal-2513664136-line-4">
60 <rect x="0" y="99.1" width="976" height="24.65"/>
61 </clipPath>
62 <clipPath id="terminal-2513664136-line-5">
63 <rect x="0" y="123.5" width="976" height="24.65"/>
64 </clipPath>
65 <clipPath id="terminal-2513664136-line-6">
66 <rect x="0" y="147.9" width="976" height="24.65"/>
67 </clipPath>
68 <clipPath id="terminal-2513664136-line-7">
69 <rect x="0" y="172.3" width="976" height="24.65"/>
70 </clipPath>
71 <clipPath id="terminal-2513664136-line-8">
72 <rect x="0" y="196.7" width="976" height="24.65"/>
73 </clipPath>
74 <clipPath id="terminal-2513664136-line-9">
75 <rect x="0" y="221.1" width="976" height="24.65"/>
76 </clipPath>
77 </defs>
78
79 <rect fill="#292929" stroke="rgba(255,255,255,0.35)" stroke-width="1" x="1" y="1" width="992" height="316.4" rx="8"/><text class="terminal-2513664136-title" fill="#c5c8c6" text-anchor="middle" x="496" y="27">Custom&#160;error&#160;message</text>
80 <g transform="translate(26,22)">
81 <circle cx="0" cy="0" r="7" fill="#ff5f57"/>
82 <circle cx="22" cy="0" r="7" fill="#febc2e"/>
83 <circle cx="44" cy="0" r="7" fill="#28c840"/>
84 </g>
85
86 <g transform="translate(9, 41)" clip-path="url(#terminal-2513664136-clip-terminal)">
87
88 <g class="terminal-2513664136-matrix">
89 <text class="terminal-2513664136-r1" x="0" y="20" textLength="524.6" clip-path="url(#terminal-2513664136-line-0)">$&#160;python&#160;examples/07_custom_errors.py&#160;--hep</text><text class="terminal-2513664136-r1" x="976" y="20" textLength="12.2" clip-path="url(#terminal-2513664136-line-0)">
90 </text><text class="terminal-2513664136-r1" x="976" y="44.4" textLength="12.2" clip-path="url(#terminal-2513664136-line-1)">
91 </text><text class="terminal-2513664136-r2" x="12.2" y="68.8" textLength="85.4" clip-path="url(#terminal-2513664136-line-2)">Usage:&#160;</text><text class="terminal-2513664136-r1" x="97.6" y="68.8" textLength="256.2" clip-path="url(#terminal-2513664136-line-2)">07_custom_errors.py&#160;[</text><text class="terminal-2513664136-r3" x="353.8" y="68.8" textLength="85.4" clip-path="url(#terminal-2513664136-line-2)">OPTIONS</text><text class="terminal-2513664136-r1" x="439.2" y="68.8" textLength="24.4" clip-path="url(#terminal-2513664136-line-2)">]&#160;</text><text class="terminal-2513664136-r3" x="463.6" y="68.8" textLength="61" clip-path="url(#terminal-2513664136-line-2)">INPUT</text><text class="terminal-2513664136-r1" x="976" y="68.8" textLength="12.2" clip-path="url(#terminal-2513664136-line-2)">
92 </text><text class="terminal-2513664136-r1" x="976" y="93.2" textLength="12.2" clip-path="url(#terminal-2513664136-line-3)">
93 </text><text class="terminal-2513664136-r4" x="12.2" y="117.6" textLength="207.4" clip-path="url(#terminal-2513664136-line-4)">Try&#160;running&#160;the&#160;&#x27;</text><text class="terminal-2513664136-r5" x="219.6" y="117.6" textLength="12.2" clip-path="url(#terminal-2513664136-line-4)">-</text><text class="terminal-2513664136-r5" x="231.8" y="117.6" textLength="61" clip-path="url(#terminal-2513664136-line-4)">-help</text><text class="terminal-2513664136-r4" x="292.8" y="117.6" textLength="341.6" clip-path="url(#terminal-2513664136-line-4)">&#x27;&#160;flag&#160;for&#160;more&#160;information.</text><text class="terminal-2513664136-r1" x="976" y="117.6" textLength="12.2" clip-path="url(#terminal-2513664136-line-4)">
94 </text><text class="terminal-2513664136-r6" x="0" y="142" textLength="24.4" clip-path="url(#terminal-2513664136-line-5)">╭─</text><text class="terminal-2513664136-r6" x="24.4" y="142" textLength="85.4" clip-path="url(#terminal-2513664136-line-5)">&#160;Error&#160;</text><text class="terminal-2513664136-r6" x="109.8" y="142" textLength="841.8" clip-path="url(#terminal-2513664136-line-5)">─────────────────────────────────────────────────────────────────────</text><text class="terminal-2513664136-r6" x="951.6" y="142" textLength="24.4" clip-path="url(#terminal-2513664136-line-5)">─╮</text><text class="terminal-2513664136-r1" x="976" y="142" textLength="12.2" clip-path="url(#terminal-2513664136-line-5)">
95 </text><text class="terminal-2513664136-r6" x="0" y="166.4" textLength="12.2" clip-path="url(#terminal-2513664136-line-6)">│</text><text class="terminal-2513664136-r1" x="12.2" y="166.4" textLength="207.4" clip-path="url(#terminal-2513664136-line-6)">&#160;No&#160;such&#160;option:&#160;</text><text class="terminal-2513664136-r3" x="219.6" y="166.4" textLength="12.2" clip-path="url(#terminal-2513664136-line-6)">-</text><text class="terminal-2513664136-r3" x="231.8" y="166.4" textLength="48.8" clip-path="url(#terminal-2513664136-line-6)">-hep</text><text class="terminal-2513664136-r1" x="280.6" y="166.4" textLength="170.8" clip-path="url(#terminal-2513664136-line-6)">&#160;Did&#160;you&#160;mean&#160;</text><text class="terminal-2513664136-r3" x="451.4" y="166.4" textLength="12.2" clip-path="url(#terminal-2513664136-line-6)">-</text><text class="terminal-2513664136-r3" x="463.6" y="166.4" textLength="61" clip-path="url(#terminal-2513664136-line-6)">-help</text><text class="terminal-2513664136-r1" x="524.6" y="166.4" textLength="439.2" clip-path="url(#terminal-2513664136-line-6)">?&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;</text><text class="terminal-2513664136-r6" x="963.8" y="166.4" textLength="12.2" clip-path="url(#terminal-2513664136-line-6)">│</text><text class="terminal-2513664136-r1" x="976" y="166.4" textLength="12.2" clip-path="url(#terminal-2513664136-line-6)">
96 </text><text class="terminal-2513664136-r6" x="0" y="190.8" textLength="976" clip-path="url(#terminal-2513664136-line-7)">╰──────────────────────────────────────────────────────────────────────────────╯</text><text class="terminal-2513664136-r1" x="976" y="190.8" textLength="12.2" clip-path="url(#terminal-2513664136-line-7)">
97 </text><text class="terminal-2513664136-r1" x="976" y="215.2" textLength="12.2" clip-path="url(#terminal-2513664136-line-8)">
98 </text><text class="terminal-2513664136-r1" x="0" y="239.6" textLength="305" clip-path="url(#terminal-2513664136-line-9)">&#160;To&#160;find&#160;out&#160;more,&#160;visit&#160;</text><text class="terminal-2513664136-r1" x="305" y="239.6" textLength="219.6" clip-path="url(#terminal-2513664136-line-9)">https://mytool.com</text><text class="terminal-2513664136-r1" x="976" y="239.6" textLength="12.2" clip-path="url(#terminal-2513664136-line-9)">
99 </text><text class="terminal-2513664136-r1" x="976" y="264" textLength="12.2" clip-path="url(#terminal-2513664136-line-10)">
100 </text>
101 </g>
102 </g>
103 </svg>