-
Using Random Numbers for Unique Error Codes
My objective for producing a unique error code is for it to be truly unique without the need of keeping track of used codes. I have selected the javascript crypto.randomUUID() function for this purpose. It produces 5.3 undecillion possible values. My implementation of this is here and the exact algorithm is here in the codeGenerator.js…
