Created
          June 29, 2022 02:07 
        
      - 
      
 - 
        
Save szaranger/0fcb836fdd7746bac88437170de4f438 to your computer and use it in GitHub Desktop.  
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | try { | |
| const result = 2 / 0; | |
| console.log(result); | |
| } catch (error) { | |
| console.err(error); | |
| throw new Error('Something went wrong', { cause: error }); | |
| } | 
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment