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
Chabardes edited this page May 11, 2022
·
20 revisions
As we said in the previous chapter, we don't check much in the command handler. Does the Hero exists ? Does the Item exists ? Does the Item being equipped belongs to the Hero ? You can find more information on how we handle our backend errors in the Notion documentation.
At Libeo, we use the neverthrow library. The goal is to explicitly tell what could go wrong in our handlers.