UNPKG
@salte-auth/salte-auth
Version:
latest (3.0.10)
next (3.0.0-rc.15)
3.1.8
3.1.7
3.1.6
3.1.5
3.1.4
3.1.3
3.1.2
3.1.1
3.1.0
3.0.10
3.0.3
3.0.2
3.0.1
3.0.0
3.0.0-rc.15
3.0.0-rc.14
3.0.0-rc.13
3.0.0-rc.12
3.0.0-rc.11
3.0.0-rc.10
3.0.0-rc.9
3.0.0-rc.8
3.0.0-rc.7
3.0.0-rc.6
3.0.0-rc.5
3.0.0-rc.4
3.0.0-rc.3
3.0.0-rc.2
3.0.0-rc.1
2.14.2
2.14.1
2.14.0
2.13.6
2.13.5
Authentication for the modern web!
github.com/salte-auth/salte-auth
salte-auth/salte-auth
@salte-auth/salte-auth
/
test
/
utils
/
ignore-error.ts
8 lines
(7 loc)
•
137 B
text/typescript
View Raw
1
2
3
4
5
6
7
8
export
async
function
ignoreError
(
promise:
Promise
<any>
) {
try
{
return
await
promise; }
catch
(error) {
return
error; } }