Advertisement
Guest User

Untitled

a guest
Aug 23rd, 2019
83
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.29 KB | None | 0 0
  1. // Add error constants
  2. notFound: id => `Pokemon with id: ${id} does not exists`,
  3. getDBerror: (id, stack) => `Error getting Pokemon with id: ${id}, stack: ${stack}`,
  4.  
  5. // Add action constants
  6. get: id => `Getting pokemon with id: ${id}`,
  7. found: pokemon => `Founded pokemon - ${JSON.stringify(pokemon)}`,
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement