lol yup. ultimately I like the pattern because the text should explain why the error happened and give you some context, so it ends up being something like http request failed because: getItem failed because: cache hit failed because: $realErrorMessageAboutCacheHere and then you could log and unwrap the error in order to handle it
View all comments
Show parent comment
41
u/Gorzoid Sep 13 '23
The error:
happened because: happened because: happened because: happened because: happened because: happened because: NOT_FOUND