Giter VIP home page Giter VIP logo

try-wrapper's People

Contributors

miniflycn avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

try-wrapper's Issues

Goal

可定制的try-catch包裹,可通过自动化构建以及简单配置对项目代码进行try-catch包裹。

计划实现的功能:

  • 可定制函数包裹
  • 可定制是否对return的函数进行包裹

基本原理

基于 Mozilla parser API 规范的 AST 来解决try-catch线下可定制包裹问题。

什么场景下你可能需要他

  • 临时性错误跟踪,非临时性建议使用badjs
  • 非类AMD规范下的跨域错误跟踪,类AMD模块下跨域错误代码跟踪建议使用tryjs
  • 非侵入式错误跟踪,要完全杜绝对第三方代码的影响,故此时只能直接对自己的代码进行包裹

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.