From d2ec70799d09c09ba9d1d12065cafc3b8c70d72e Mon Sep 17 00:00:00 2001 From: slice Date: Wed, 18 Jul 2018 14:58:19 -0700 Subject: [PATCH] add ws error codes --- priv/frontend/src/ws/errors.js | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 priv/frontend/src/ws/errors.js diff --git a/priv/frontend/src/ws/errors.js b/priv/frontend/src/ws/errors.js new file mode 100644 index 0000000..a5d1c7e --- /dev/null +++ b/priv/frontend/src/ws/errors.js @@ -0,0 +1,4 @@ +export default { + INVALID_PAYLOAD: 4200, + TOO_MUCH: 4420, +}