Search
Preparing search index...
The search index is not available
@bhc/ts-tools
Options
All
Public
Public/Protected
All
Inherited
Externals
Menu
@bhc/ts-tools
Throwable
Class Throwable<A>
Type parameters
A
Hierarchy
Effect
<
A
>
Throwable
Index
Methods
Throwable
To
List
_open
bind
case
fmap
from
Resolved
from
Throwable
from
Thrown
identity
is
Resolved
is
Thrown
is
Valide
Throwable
To
List
bind
case
cat
Throwables
fmap
from
from
Resolved
from
Throwable
from
Thrown
is
Resolved
is
Thrown
lift
lift
From
Throwable
lift
From
Throwable
Async
list
To
Throwable
map
Throwable
resolved
thrown
Methods
Throwable
To
List
Throwable
To
List
(
)
:
A
[]
Returns
A
[]
_open
_open
(
)
:
unknown
Returns
unknown
bind
bind
<
B
>
(
f
:
(
a
:
A
)
=>
Throwable
<
B
>
)
:
Throwable
<
B
>
Type parameters
B
Parameters
f:
(
a
:
A
)
=>
Throwable
<
B
>
(
a
:
A
)
:
Throwable
<
B
>
Parameters
a:
A
Returns
Throwable
<
B
>
Returns
Throwable
<
B
>
case
case
<
B
>
(
f
:
(
a
:
A
)
=>
B
, n
:
(
e
:
Error
)
=>
B
)
:
any
Type parameters
B
Parameters
f:
(
a
:
A
)
=>
B
(
a
:
A
)
:
B
Parameters
a:
A
Returns
B
n:
(
e
:
Error
)
=>
B
(
e
:
Error
)
:
B
Parameters
e:
Error
Returns
B
Returns
any
fmap
fmap
<
B
>
(
f
:
(
a
:
A
)
=>
B
)
:
Throwable
<
B
>
Type parameters
B
Parameters
f:
(
a
:
A
)
=>
B
(
a
:
A
)
:
B
Parameters
a:
A
Returns
B
Returns
Throwable
<
B
>
from
Resolved
from
Resolved
(
)
:
A
Returns
A
from
Throwable
from
Throwable
(
d
:
A
)
:
A
Parameters
d:
A
Returns
A
from
Thrown
from
Thrown
(
)
:
Error
Returns
Error
identity
identity
<
T
>
(
)
:
T
Type parameters
T
:
typeof
Effect
Returns
T
is
Resolved
is
Resolved
(
)
:
boolean
Returns
boolean
is
Thrown
is
Thrown
(
)
:
boolean
Returns
boolean
is
Valide
is
Valide
(
)
:
boolean
Returns
boolean
Static
Throwable
To
List
Throwable
To
List
<
A
>
(
a
:
Throwable
<
A
>
)
:
A
[]
Type parameters
A
Parameters
a:
Throwable
<
A
>
Returns
A
[]
Static
bind
bind
<
A
,
B
>
(
f
:
(
a
:
A
)
=>
Throwable
<
B
>
, a
:
Throwable
<
A
>
)
:
Throwable
<
B
>
Type parameters
A
B
Parameters
f:
(
a
:
A
)
=>
Throwable
<
B
>
(
a
:
A
)
:
Throwable
<
B
>
Parameters
a:
A
Returns
Throwable
<
B
>
a:
Throwable
<
A
>
Returns
Throwable
<
B
>
Static
case
case
<
A
,
B
>
(
a
:
Throwable
<
A
>
, f
:
(
a
:
A
)
=>
B
, n
:
(
e
:
Error
)
=>
B
)
:
B
Type parameters
A
B
Parameters
a:
Throwable
<
A
>
f:
(
a
:
A
)
=>
B
(
a
:
A
)
:
B
Parameters
a:
A
Returns
B
n:
(
e
:
Error
)
=>
B
(
e
:
Error
)
:
B
Parameters
e:
Error
Returns
B
Returns
B
Static
cat
Throwables
cat
Throwables
<
A
>
(
a
:
Throwable
<
A
>
[]
)
:
A
[]
Type parameters
A
Parameters
a:
Throwable
<
A
>
[]
Returns
A
[]
Static
fmap
fmap
<
A
,
B
>
(
f
:
(
a
:
A
)
=>
B
, a
:
Throwable
<
A
>
)
:
Throwable
<
B
>
Type parameters
A
B
Parameters
f:
(
a
:
A
)
=>
B
(
a
:
A
)
:
B
Parameters
a:
A
Returns
B
a:
Throwable
<
A
>
Returns
Throwable
<
B
>
Static
from
from
<
A
,
E
>
(
a
:
A
|
E
)
:
Throwable
<
A
>
Type parameters
A
E
:
Error
Parameters
a:
A
|
E
Returns
Throwable
<
A
>
Static
from
Resolved
from
Resolved
<
A
>
(
a
:
Throwable
<
A
>
)
:
A
Type parameters
A
Parameters
a:
Throwable
<
A
>
Returns
A
Static
from
Throwable
from
Throwable
<
A
>
(
d
:
A
, a
:
Throwable
<
A
>
)
:
A
Type parameters
A
Parameters
d:
A
a:
Throwable
<
A
>
Returns
A
Static
from
Thrown
from
Thrown
<
A
>
(
a
:
Throwable
<
A
>
)
:
Error
Type parameters
A
Parameters
a:
Throwable
<
A
>
Returns
Error
Static
is
Resolved
is
Resolved
<
A
>
(
a
:
Throwable
<
A
>
)
:
boolean
Type parameters
A
Parameters
a:
Throwable
<
A
>
Returns
boolean
Static
is
Thrown
is
Thrown
<
A
>
(
a
:
Throwable
<
A
>
)
:
boolean
Type parameters
A
Parameters
a:
Throwable
<
A
>
Returns
boolean
Static
lift
lift
<
A
,
B
>
(
f
:
(
a
:
A
)
=>
B
)
:
(
a
:
Throwable
<
A
>
)
=>
Throwable
<
B
>
Type parameters
A
B
Parameters
f:
(
a
:
A
)
=>
B
(
a
:
A
)
:
B
Parameters
a:
A
Returns
B
Returns
(
a
:
Throwable
<
A
>
)
=>
Throwable
<
B
>
(
a
:
Throwable
<
A
>
)
:
Throwable
<
B
>
Parameters
a:
Throwable
<
A
>
Returns
Throwable
<
B
>
Static
lift
From
Throwable
lift
From
Throwable
<
A
,
Args
>
(
f
:
(
...
a
:
Args
)
=>
A
)
:
(
...
a
:
Args
)
=>
Throwable
<
A
>
Type parameters
A
Args
:
unknown
[]
Parameters
f:
(
...
a
:
Args
)
=>
A
(
...
a
:
Args
)
:
A
Parameters
Rest
...
a:
Args
Returns
A
Returns
(
...
a
:
Args
)
=>
Throwable
<
A
>
(
...
a
:
Args
)
:
Throwable
<
A
>
Parameters
Rest
...
a:
Args
Returns
Throwable
<
A
>
Static
lift
From
Throwable
Async
lift
From
Throwable
Async
<
A
,
Args
>
(
f
:
(
...
a
:
Args
)
=>
Promise
<
A
>
)
:
(
...
a
:
Args
)
=>
Promise
<
Throwable
<
A
>
>
Type parameters
A
Args
:
unknown
[]
Parameters
f:
(
...
a
:
Args
)
=>
Promise
<
A
>
(
...
a
:
Args
)
:
Promise
<
A
>
Parameters
Rest
...
a:
Args
Returns
Promise
<
A
>
Returns
(
...
a
:
Args
)
=>
Promise
<
Throwable
<
A
>
>
(
...
a
:
Args
)
:
Promise
<
Throwable
<
A
>
>
Parameters
Rest
...
a:
Args
Returns
Promise
<
Throwable
<
A
>
>
Static
list
To
Throwable
list
To
Throwable
<
A
>
(
a
:
A
[]
)
:
Throwable
<
A
>
Type parameters
A
Parameters
a:
A
[]
Returns
Throwable
<
A
>
Static
map
Throwable
map
Throwable
<
A
,
B
>
(
f
:
(
a
:
A
)
=>
Throwable
<
B
>
, a
:
A
[]
)
:
B
[]
Type parameters
A
B
Parameters
f:
(
a
:
A
)
=>
Throwable
<
B
>
(
a
:
A
)
:
Throwable
<
B
>
Parameters
a:
A
Returns
Throwable
<
B
>
a:
A
[]
Returns
B
[]
Static
resolved
resolved
<
A
>
(
a
:
A
)
:
Throwable
<
A
>
Type parameters
A
Parameters
a:
A
Returns
Throwable
<
A
>
Static
thrown
thrown
<
A
,
E
>
(
a
:
string
|
E
)
:
Throwable
<
A
>
Type parameters
A
E
:
Error
Parameters
a:
string
|
E
Returns
Throwable
<
A
>
Exports
Array
Combinators
Pipe
String
Throwable
Throwable
To
List
_open
bind
case
fmap
from
Resolved
from
Throwable
from
Thrown
identity
is
Resolved
is
Thrown
is
Valide
Throwable
To
List
bind
case
cat
Throwables
fmap
from
from
Resolved
from
Throwable
from
Thrown
is
Resolved
is
Thrown
lift
lift
From
Throwable
lift
From
Throwable
Async
list
To
Throwable
map
Throwable
resolved
thrown
Generated using
TypeDoc