Essayez Catch in React Native

  try {
   // Block of code to try
}
catch(err) {
    // Block of code to handle errors
}
Hacker Harsha