Closed FabrizioBrancati closed 7 years ago
I think that adding fixed error codes can help error catching in JavaScript. I created an enum and I used the name of the case itself with .name(). I also added a Log.e with the old error strings.
.name()
Log.e
Maybe fixes #51 with INIT_CIPHER_FAILED error.
INIT_CIPHER_FAILED
Maybe fixes #59 issue
I think that adding fixed error codes can help error catching in JavaScript. I created an enum and I used the name of the case itself with
.name()
. I also added aLog.e
with the old error strings.Maybe fixes #51 with
INIT_CIPHER_FAILED
error.