Skip to content

frani/fractal-function-snippet

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation


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


Demo

usage: type ffs then click on TAB

fractal function snippet demo

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

About

🔺 VSCode snippet - fractal pattern for functional paradigma

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published