Skip to content

About

a simple wrapper for the try catch method in typescript

Resources

Stars

1 star

Watchers

1 watching

Forks

Latest commit

 

History

5 Commits

Folders and files

Repository files navigation

a simple wrapper for the try catch method in typescript

Installation

npm install try-catch-wrapper-ts

Usage

import { tryCatch } from "try-catch-wrapper-ts";

const { data, error } = await tryCatch(someFunction());

About

a simple wrapper for the try catch method in typescript

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages