fractal-function-snippet

1.0.0 • Public • Published


fractal-function-snippet-logo
Fractal Function Snippet

A solution to deal with errors

VSCode-ext Visual Studio Marketplace Installs github license github issues Visual Studio Marketplace Rating

About

Fractal Function Pattern was made as a solution to give a way of handler errors in a isolated way, so if something explot in a function, instead of keep throwing the error through all the system is going to receive an idempotent response so when function's caller receive the response, can determinated of what is going to receive in case something went wrong then take decition of what to do.

I wrote about this in spanish in my blog I still working on it to give a better explanation haha


Install

Install with VScode:

To install the extension, open the Extensions view on sidenav, search for Fractal Function to filter results and select Fractal Function Snippets authored by Frani.

Install with Terminal:

code --install-extension frani.fractal-function-snippet

in case you have code command disable see this link to enable it

License

MIT © Frani

Package Sidebar

Install

npm i fractal-function-snippet

Weekly Downloads

0

Version

1.0.0

License

MIT

Unpacked Size

23 kB

Total Files

10

Last publish

Collaborators

  • frani