2025-03-13 23:01:52 +03:00

1 line
14 KiB
XML

<?xml version="1.0" encoding="us-ascii" standalone="no"?><svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" contentStyleType="text/css" height="516px" preserveAspectRatio="none" style="width:956px;height:516px;background:#FFFFFF;" version="1.1" viewBox="0 0 956 516" width="956px" zoomAndPan="magnify"><defs/><g><!--class BaseFailure--><g id="elem_BaseFailure"><rect codeLine="1" fill="#F1F1F1" height="96.8906" id="BaseFailure" rx="2.5" ry="2.5" style="stroke:#181818;stroke-width:0.5;" width="358" x="403" y="412.73"/><ellipse cx="537.75" cy="428.73" fill="#A9DCDF" rx="11" ry="11" style="stroke:#181818;stroke-width:1.0;"/><path d="M537.8594,424.0738 L536.7031,429.1519 L539.0313,429.1519 L537.8594,424.0738 Z M536.375,421.8394 L539.3594,421.8394 L542.7188,434.23 L540.2656,434.23 L539.5,431.1675 L536.2188,431.1675 L535.4688,434.23 L533.0313,434.23 L536.375,421.8394 Z " fill="#000000"/><text fill="#000000" font-family="sans-serif" font-size="14" font-style="italic" lengthAdjust="spacing" textLength="80" x="558.25" y="433.5767">BaseFailure</text><line style="stroke:#181818;stroke-width:0.5;" x1="404" x2="760" y1="444.73" y2="444.73"/><rect fill="none" height="6" style="stroke:#C82930;stroke-width:1.0;" width="6" x="411" y="455.3784"/><text fill="#000000" font-family="sans-serif" font-size="14" lengthAdjust="spacing" textLength="290" x="423" y="461.7251">String BASE_FAILURE_MESSAGE = "failure"</text><ellipse cx="414" cy="474.6753" fill="none" rx="3" ry="3" style="stroke:#038048;stroke-width:1.0;"/><text fill="#000000" font-family="sans-serif" font-size="14" lengthAdjust="spacing" textLength="332" x="423" y="478.022">String message = this.BASE_FAILURE_MESSAGE</text><line style="stroke:#181818;stroke-width:0.5;" x1="404" x2="760" y1="485.3238" y2="485.3238"/><text fill="#000000" font-family="sans-serif" font-size="14" lengthAdjust="spacing" textLength="162" x="409" y="502.3189">constructor(key: string)</text></g><!--class UserFailure--><g id="elem_UserFailure"><rect codeLine="8" fill="#F1F1F1" height="64.2969" id="UserFailure" rx="2.5" ry="2.5" style="stroke:#181818;stroke-width:0.5;" width="174" x="403" y="285.32"/><ellipse cx="447.25" cy="301.32" fill="#ADD1B2" rx="11" ry="11" style="stroke:#181818;stroke-width:1.0;"/><path d="M450.2188,306.9606 Q449.6406,307.2575 449,307.3981 Q448.3594,307.5544 447.6563,307.5544 Q445.1563,307.5544 443.8281,305.9138 Q442.5156,304.2575 442.5156,301.1325 Q442.5156,298.0075 443.8281,296.3513 Q445.1563,294.695 447.6563,294.695 Q448.3594,294.695 449,294.8513 Q449.6563,295.0075 450.2188,295.3044 L450.2188,298.0231 Q449.5938,297.445 449,297.1794 Q448.4063,296.8981 447.7813,296.8981 Q446.4375,296.8981 445.75,297.9763 Q445.0625,299.0388 445.0625,301.1325 Q445.0625,303.2263 445.75,304.3044 Q446.4375,305.3669 447.7813,305.3669 Q448.4063,305.3669 449,305.1013 Q449.5938,304.82 450.2188,304.2419 L450.2188,306.9606 Z " fill="#000000"/><text fill="#000000" font-family="sans-serif" font-size="14" lengthAdjust="spacing" textLength="77" x="467.75" y="306.1667">UserFailure</text><line style="stroke:#181818;stroke-width:0.5;" x1="404" x2="576" y1="317.32" y2="317.32"/><line style="stroke:#181818;stroke-width:0.5;" x1="404" x2="576" y1="325.32" y2="325.32"/><text fill="#000000" font-family="sans-serif" font-size="14" lengthAdjust="spacing" textLength="162" x="409" y="342.3151">constructor(key: string)</text></g><g id="elem_GMN4"><path d="M84,282.2 L84,352.7313 A0,0 0 0 0 84,352.7313 L368,352.7313 A0,0 0 0 0 368,352.7313 L368,321.46 L402.54,317.46 L368,313.46 L368,292.2 L358,282.2 L84,282.2 A0,0 0 0 0 84,282.2 " fill="#FEFFDD" style="stroke:#181818;stroke-width:0.5;"/><path d="M358,282.2 L358,292.2 L368,292.2 L358,282.2 " fill="#FEFFDD" style="stroke:#181818;stroke-width:0.5;"/><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacing" textLength="259" x="90" y="299.2669">Extends parent message key by sending</text><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacing" textLength="248" x="94" y="314.3997">`user` keyword as a domain to parent.</text><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacing" textLength="224" x="94" y="329.5325">So in `UserFailure` our `message`</text><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacing" textLength="4" x="90" y="344.6653">&#160;</text><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacing" textLength="189" x="122" y="344.6653">property will be `failure.user`.</text></g><!--class UserModificationFailure--><g id="elem_UserModificationFailure"><rect codeLine="22" fill="#F1F1F1" height="64.2969" id="UserModificationFailure" rx="2.5" ry="2.5" style="stroke:#181818;stroke-width:0.5;" width="191" x="394.5" y="154.78"/><ellipse cx="409.5" cy="170.78" fill="#ADD1B2" rx="11" ry="11" style="stroke:#181818;stroke-width:1.0;"/><path d="M412.4688,176.4206 Q411.8906,176.7175 411.25,176.8581 Q410.6094,177.0144 409.9063,177.0144 Q407.4063,177.0144 406.0781,175.3738 Q404.7656,173.7175 404.7656,170.5925 Q404.7656,167.4675 406.0781,165.8113 Q407.4063,164.155 409.9063,164.155 Q410.6094,164.155 411.25,164.3113 Q411.9063,164.4675 412.4688,164.7644 L412.4688,167.4831 Q411.8438,166.905 411.25,166.6394 Q410.6563,166.3581 410.0313,166.3581 Q408.6875,166.3581 408,167.4363 Q407.3125,168.4988 407.3125,170.5925 Q407.3125,172.6863 408,173.7644 Q408.6875,174.8269 410.0313,174.8269 Q410.6563,174.8269 411.25,174.5613 Q411.8438,174.28 412.4688,173.7019 L412.4688,176.4206 Z " fill="#000000"/><text fill="#000000" font-family="sans-serif" font-size="14" lengthAdjust="spacing" textLength="159" x="423.5" y="175.6267">UserModificationFailure</text><line style="stroke:#181818;stroke-width:0.5;" x1="395.5" x2="584.5" y1="186.78" y2="186.78"/><line style="stroke:#181818;stroke-width:0.5;" x1="395.5" x2="584.5" y1="194.78" y2="194.78"/><text fill="#000000" font-family="sans-serif" font-size="14" lengthAdjust="spacing" textLength="162" x="400.5" y="211.7751">constructor(key: string)</text></g><g id="elem_GMN9"><path d="M620.5,151.67 L620.5,182.93 L585.93,186.93 L620.5,190.93 L620.5,222.2013 A0,0 0 0 0 620.5,222.2013 L949.5,222.2013 A0,0 0 0 0 949.5,222.2013 L949.5,161.67 L939.5,151.67 L620.5,151.67 A0,0 0 0 0 620.5,151.67 " fill="#FEFFDD" style="stroke:#181818;stroke-width:0.5;"/><path d="M939.5,151.67 L939.5,161.67 L949.5,161.67 L939.5,151.67 " fill="#FEFFDD" style="stroke:#181818;stroke-width:0.5;"/><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacing" textLength="259" x="626.5" y="168.7369">Extends parent message key by sending</text><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacing" textLength="215" x="630.5" y="183.8697">`modification` keyword to parent.</text><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacing" textLength="300" x="630.5" y="199.0025">So in `UserModificationFailure` our `message`</text><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacing" textLength="4" x="626.5" y="214.1353">&#160;</text><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacing" textLength="267" x="658.5" y="214.1353">property will be `failure.user.modification`</text></g><!--class UserModificationAlreadyExistsFailure--><g id="elem_UserModificationAlreadyExistsFailure"><rect codeLine="33" fill="#F1F1F1" height="64.2969" id="UserModificationAlreadyExistsFailure" rx="2.5" ry="2.5" style="stroke:#181818;stroke-width:0.5;" width="281" x="349.5" y="16.69"/><ellipse cx="364.5" cy="32.69" fill="#ADD1B2" rx="11" ry="11" style="stroke:#181818;stroke-width:1.0;"/><path d="M367.4688,38.3306 Q366.8906,38.6275 366.25,38.7681 Q365.6094,38.9244 364.9063,38.9244 Q362.4063,38.9244 361.0781,37.2838 Q359.7656,35.6275 359.7656,32.5025 Q359.7656,29.3775 361.0781,27.7212 Q362.4063,26.065 364.9063,26.065 Q365.6094,26.065 366.25,26.2212 Q366.9063,26.3775 367.4688,26.6744 L367.4688,29.3931 Q366.8438,28.815 366.25,28.5494 Q365.6563,28.2681 365.0313,28.2681 Q363.6875,28.2681 363,29.3462 Q362.3125,30.4087 362.3125,32.5025 Q362.3125,34.5963 363,35.6744 Q363.6875,36.7369 365.0313,36.7369 Q365.6563,36.7369 366.25,36.4713 Q366.8438,36.19 367.4688,35.6119 L367.4688,38.3306 Z " fill="#000000"/><text fill="#000000" font-family="sans-serif" font-size="14" lengthAdjust="spacing" textLength="249" x="378.5" y="37.5367">UserModificationAlreadyExistsFailure</text><line style="stroke:#181818;stroke-width:0.5;" x1="350.5" x2="629.5" y1="48.69" y2="48.69"/><line style="stroke:#181818;stroke-width:0.5;" x1="350.5" x2="629.5" y1="56.69" y2="56.69"/><text fill="#000000" font-family="sans-serif" font-size="14" lengthAdjust="spacing" textLength="90" x="355.5" y="73.6851">constructor()</text></g><g id="elem_GMN14"><path d="M6,6 L6,91.6641 A0,0 0 0 0 6,91.6641 L314,91.6641 A0,0 0 0 0 314,91.6641 L314,52.83 L349.01,48.83 L314,44.83 L314,16 L304,6 L6,6 A0,0 0 0 0 6,6 " fill="#FEFFDD" style="stroke:#181818;stroke-width:0.5;"/><path d="M304,6 L304,16 L314,16 L304,6 " fill="#FEFFDD" style="stroke:#181818;stroke-width:0.5;"/><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacing" textLength="259" x="12" y="23.0669">Extends parent message key by sending</text><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacing" textLength="221" x="16" y="38.1997">`alreadyExists` keyword to parent.</text><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacing" textLength="283" x="16" y="53.3325">So in `UserModificationAlreadyExistsFailure`</text><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacing" textLength="4" x="12" y="68.4653">&#160;</text><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacing" textLength="98" x="44" y="68.4653">our `message`</text><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacing" textLength="96" x="172" y="68.4653">property will be</text><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacing" textLength="256" x="24" y="83.5981">`failure.user.modification.AlreadyExists`</text></g><!--class DeviceFailure--><g id="elem_DeviceFailure"><rect codeLine="44" fill="#F1F1F1" height="64.2969" id="DeviceFailure" rx="2.5" ry="2.5" style="stroke:#181818;stroke-width:0.5;" width="124" x="612" y="285.32"/><ellipse cx="627" cy="301.32" fill="#ADD1B2" rx="11" ry="11" style="stroke:#181818;stroke-width:1.0;"/><path d="M629.9688,306.9606 Q629.3906,307.2575 628.75,307.3981 Q628.1094,307.5544 627.4063,307.5544 Q624.9063,307.5544 623.5781,305.9138 Q622.2656,304.2575 622.2656,301.1325 Q622.2656,298.0075 623.5781,296.3513 Q624.9063,294.695 627.4063,294.695 Q628.1094,294.695 628.75,294.8513 Q629.4063,295.0075 629.9688,295.3044 L629.9688,298.0231 Q629.3438,297.445 628.75,297.1794 Q628.1563,296.8981 627.5313,296.8981 Q626.1875,296.8981 625.5,297.9763 Q624.8125,299.0388 624.8125,301.1325 Q624.8125,303.2263 625.5,304.3044 Q626.1875,305.3669 627.5313,305.3669 Q628.1563,305.3669 628.75,305.1013 Q629.3438,304.82 629.9688,304.2419 L629.9688,306.9606 Z " fill="#000000"/><text fill="#000000" font-family="sans-serif" font-size="14" lengthAdjust="spacing" textLength="92" x="641" y="306.1667">DeviceFailure</text><line style="stroke:#181818;stroke-width:0.5;" x1="613" x2="735" y1="317.32" y2="317.32"/><line style="stroke:#181818;stroke-width:0.5;" x1="613" x2="735" y1="325.32" y2="325.32"/><text fill="#000000" font-family="sans-serif" font-size="14" lengthAdjust="spacing" textLength="90" x="618" y="342.3151">constructor()</text></g><!--link UserFailure to BaseFailure--><g id="link_UserFailure_BaseFailure"><path codeLine="19" d="M510.42,349.91 C522.33,368.26 527.782,376.6868 541.162,397.2768 " fill="none" id="UserFailure-to-BaseFailure" style="stroke:#181818;stroke-width:1.0;"/><polygon fill="none" points="550.97,412.37,546.1931,394.0075,536.131,400.5462,550.97,412.37" style="stroke:#181818;stroke-width:1.0;"/></g><!--link UserModificationFailure to UserFailure--><g id="link_UserModificationFailure_UserFailure"><path codeLine="31" d="M490,219.37 C490,239.29 490,246.96 490,266.9 " fill="none" id="UserModificationFailure-to-UserFailure" style="stroke:#181818;stroke-width:1.0;"/><polygon fill="none" points="490,284.9,496,266.9,484,266.9,490,284.9" style="stroke:#181818;stroke-width:1.0;"/></g><!--link DeviceFailure to BaseFailure--><g id="link_DeviceFailure_BaseFailure"><path codeLine="48" d="M653.58,349.91 C641.67,368.26 636.218,376.6868 622.838,397.2768 " fill="none" id="DeviceFailure-to-BaseFailure" style="stroke:#181818;stroke-width:1.0;"/><polygon fill="none" points="613.03,412.37,627.869,400.5462,617.8069,394.0075,613.03,412.37" style="stroke:#181818;stroke-width:1.0;"/></g><!--link UserModificationAlreadyExistsFailure to UserModificationFailure--><g id="link_UserModificationAlreadyExistsFailure_UserModificationFailure"><path codeLine="49" d="M490,81.4 C490,103.39 490,114.59 490,136.54 " fill="none" id="UserModificationAlreadyExistsFailure-to-UserModificationFailure" style="stroke:#181818;stroke-width:1.0;"/><polygon fill="none" points="490,154.54,496,136.54,484,136.54,490,154.54" style="stroke:#181818;stroke-width:1.0;"/></g><!--SRC=[bTBTRe8m60RWOx-hUEFHbaKkOCcMO8RBadaouh6jKBKHgMdBb6oxznN6128OEQNVpzkdy9MncaSMKsx4ZCiaqm9VX0b2gsMwmTGFW-NCVtjVV0JBUH26_ck09upNVxLZmiD_wLuOmpV2dTgjD5vN9u4GgTJjp2AhzDrEv8ymPViz_H152JS62oDqdMLqhI5LLY0HQmiQ1IShqjZWmBL8xJcEQy4gXt5dHKe2MEOMiEBWg7GCRi0HgpsNAQogsZrN5oguJwmHXq5b6gmQpOfXeuDM1w5jZgDC4gm4M6NZbMiySejHv2HgNcmo-NvkgfEpgQy_Lx5SouXRgTBRA4e9BJVROHJxngAQf8-X8zPm4g-ri-RfktSfrQ2Z7YS_qOB7UN2InfeUjBFKu7-6DwSFa-eAnWgdjjmbcwl15JklDRWXMG6zY4yPYIiIrAwu-2Ll4Zu_JyVR_G80]--></g></svg>