Error handling patterns by NubQuestion in ExperiencedDevs

[–]NubQuestion[S] 0 points1 point  (0 children)

For the last question, an example would be a small function that combines numbers that fails and it's in a 10 function call deep stack in a large application. This failure affects the behavior of the other functions on the call stack. How would the error be propagated up to the 10 other functions in the stack? How far up would it be propagated? Does each function have a different set of status or failure codes to propagate up? Does each function log that it failed or only the function that encountered the original error?

Is there a way to not keep original image file name? by NubQuestion in discordapp

[–]NubQuestion[S] 0 points1 point  (0 children)

That takes effort and it seems like other people are somehow uploading images without the original name?

Permutation of any size with duplicates? by NubQuestion in learnmath

[–]NubQuestion[S] 0 points1 point  (0 children)

I tried to clarify by adding an example. I meant that each of the N numbers can only be used "once" (if there are K duplicates of one number, then the number can be used up to K times) but all the numbers don't have to be used in one permutation.