This website works better with JavaScript.
Home
Explore
Help
Sign In
modal
/
code-sdk
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Releases
0
Wiki
Activity
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
4
Commits
1
Branch
218 KiB
TypeScript
100%
Tree:
30ddf38fe6
master
Branches
Tags
${ item.name }
Create branch
${ searchTerm }
from '30ddf38fe6'
${ noResults }
code-sdk
/
src
/
utils
/
error.ts
2 lines
101 B
Raw
Blame
History
export const notFoundFactory = <T extends Error>(ErrorClass: { new(): T }) => () => new ErrorClass()