throw MysteryBoxError instead of generic errors
authorJustin Wind <justin.wind+git@gmail.com>
Tue, 14 Mar 2023 23:06:58 +0000 (16:06 -0700)
committerJustin Wind <justin.wind+git@gmail.com>
Wed, 15 Mar 2023 18:19:01 +0000 (11:19 -0700)
commit6c9e123b3c10ef5caafc1a5f352a4705a8579ca9
tree43a6f8c1c9333925ffdfb1ddc93ec7fbd13ebd41
parent2ef5f9c74d92c8eb8cc0bd03fecc9d1a1d306489
throw MysteryBoxError instead of generic errors
index.js
lib/errors.js [new file with mode: 0644]
lib/mystery-box.js
test/lib/errors.js [new file with mode: 0644]
test/lib/mystery-box.js