Documentation
Preparing search index...
@symbola/function
require
Catchable
Class Catchable
Abstract
Alpha
Index
Constructors
constructor
Methods
[_
catch]
Constructors
constructor
new
Catchable
()
:
Catchable
Alpha
Returns
Catchable
Methods
[_
catch]
"[_catch]"
<
A
extends
(
...
args
:
any
[]
)
=>
any
,
B
>
(
this
:
A
,
fn
:
(
error
:
unknown
)
=>
B
,
)
:
(
...
args
:
unknown
[]
)
=>
any
Alpha
Catch errors thrown by a function.
Type Parameters
A
extends
(
...
args
:
any
[]
)
=>
any
B
Parameters
this
:
A
fn
:
(
error
:
unknown
)
=>
B
Returns
(
...
args
:
unknown
[]
)
=>
any
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Methods
[_
catch]
Documentation
Loading...
Catch errors thrown by a function.