i have that print on my console.
I print this when my error function is called
export function handleRequestError(error) {
console.log(error);
}
When I do, error.cancel, it comes undefined. Would I be able to do some verification of this type? If cancel comes, I do something like that
export function handleRequestError(error) {
console.log(error);
if(error['Cancel'] === undefined) return //doesnt work
}
How do I check that "Cancel"?


In the prototype, you can see that the property
__CANCEL__is set to true.Do this: