You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is there any interest in adding a logErr option? logErr would be passed to loudRejection. I have a need to format error logs. The Meow way seems to be avoiding explicit catch but by doing so, I lose the ability to format the log.
The text was updated successfully, but these errors were encountered:
@SamVerschueren thanks for commenting. I agree that using .catch is not problematic in the sense that it's easy to do and it works. But by using .catch, I duplicate the (simple) logic encapsulated by loud-rejection. My usage is nearly identical to the .catch example in the loud-rejectiondocs.
The choice was made to delegate error handling to loud-rejection. loud-rejection anticipates the need for a custom logging function. Why wouldn't meow support this option? I opened this issue in case it's an unforeseen or unrecognized use-case.
Is there any interest in adding a
logErr
option?logErr
would be passed toloudRejection
. I have a need to format error logs. The Meow way seems to be avoiding explicitcatch
but by doing so, I lose the ability to format the log.The text was updated successfully, but these errors were encountered: