Customizing Default Error Message for `Data.taggedError`

Does Data.taggedError have a fixed message of An error has occurred? How can I customize that error message without having to provide it every time I create the error?
Was this page helpful?