Add custom errors
Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>
This commit is contained in:
parent
3302017946
commit
42a1266da5
2 changed files with 8 additions and 0 deletions
|
@ -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
7
js/error.js
Normal file
|
@ -0,0 +1,7 @@
|
|||
/**
|
||||
* This is a file to configure custom errors
|
||||
*/
|
||||
|
||||
/* Proxy Restriction Errors */
|
||||
class ProxyReadOnlySetError extends Error {}
|
||||
class ProxyWriteOnceSetError extends Error {}
|
Loading…
Reference in a new issue