This reminds me there's no convention about these error name....
I see _NO_PROVIDER_, _USER_ABORT_, _ActivityCanceled_ in gecko.
BTW you shall consider use default or add USER_ABORT here.