arnaucube
arnaucube/circomPublic Self-hosted repository
circom/ports/wasm/errs.js
ports/wasm/errs.jsRaw
 1module.exports = {
 2    STACK_OUT_OF_MEM:               {code: 1, str: "Stack out of memory"},
 3    STACK_TOO_SMALL:                {code: 2, str: "Stack too small"},
 4    HASH_NOT_FOUND:                 {code: 3, str: "Hash not found"},
 5    INVALID_TYPE:                   {code: 4, str: "Invalid type"},
 6    ACCESSING_NOT_ASSIGNED_SIGNAL:  {code: 5, str: "Accessing a not assigned signal"},
 7    SIGNAL_ASSIGNED_TWICE:          {code: 6, str: "Signal assigned twice"},
 8    CONSTRAIN_DOES_NOT_MATCH:       {code: 7, str: "Constraint doesn't match"},
 9    MAPISINPUT_DONT_MATCH:          {code: 8, str: "MapIsInput don't match"},
10};