# babel-plugin-dylan **Repository Path**: dylanyg/babel-plugin-dylan ## Basic Information - **Project Name**: babel-plugin-dylan - **Description**: babel/plugin/dylan - **Primary Language**: JavaScript - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2022-02-15 - **Last Updated**: 2022-08-18 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # Overview ## Error异常 - Error类型 - TryStatement语句 - window.onerror/unhandledrejection事件 - ReactClass.componentDidCatch事件/FunctionComponent.?Catch ## Error处理 - TryStatement语句静态检查 ```js try{ // do something let min = 0, max = 100, result; result = Math.random()*(max - min)+min; } catch(error){ } ``` ``` - ErrorBoundary组件注入 ```jsx import React from 'react' function Demo() { return (
my name is dylan
my name is dylan