It represent an operation result that has failed.
{ outcome: "FAILURE", errorCode: "COUNTER_INIT_FAILED", reason: "Counter allow only positive numbers", data: { initialCount, }, };
You can put anything usefull to understand the error. You should not let it to any and type it in your implementation.
It's a specific error code relative to the error.
The explanation why the error happened.
Generated using TypeDoc
It represent an operation result that has failed.