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
I use a similar mechanism in my internal services to always return an object called ServiceContract that has a .success?, a .payload, and a .errors. The errors part is a CustomError object that I wrote that formats errors just how I like them. It’s nice to have a consistent return object pattern.
-- Puzzleheaded-Bus4652
The text was updated successfully, but these errors were encountered:
The text was updated successfully, but these errors were encountered: