Add custom errors

Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>
This commit is contained in:
Victor Seiji Hariki 2022-11-27 09:48:13 -03:00
parent 3302017946
commit 42a1266da5
2 changed files with 8 additions and 0 deletions

View file

@ -284,6 +284,7 @@
</div>
<!-- Base Libs -->
<script src="js/error.js" type="text/javascript"></script>
<script src="js/util.js" type="text/javascript"></script>
<script src="js/input.js" type="text/javascript"></script>
<script src="js/commands.js" type="text/javascript"></script>

7
js/error.js Normal file
View file

@ -0,0 +1,7 @@
/**
* This is a file to configure custom errors
*/
/* Proxy Restriction Errors */
class ProxyReadOnlySetError extends Error {}
class ProxyWriteOnceSetError extends Error {}