3 ms·
100% agree. “Error” is as big and ambiguous as “success”. What should a successful function return? True / false? An object? A URI? Nothing? There is no rule o
by brookst 1y ago
100% agree. “Error” is as big and ambiguous as “success”. What should a successful function return? True / false? An object? A URI? Nothing?
There is no rule of thumb because the scenarios are too varied and context matters.