Search
Preparing search index...
The search index is not available
resulty
Options
All
Public
Public/Protected
All
Inherited
Externals
Only exported
Menu
Globals
"Err"
Err
Class Err<E, A>
Type parameters
E
A
Hierarchy
Result
<
E
,
A
>
Err
Index
Constructors
constructor
Properties
error
Methods
and
Then
ap
assign
cata
do
get
OrElse
get
OrElse
Value
map
map
Error
or
Else
Constructors
constructor
new
Err
(
error
:
E
)
:
Err
Parameters
error:
E
Returns
Err
Properties
Private
error
error
:
E
Methods
and
Then
and
Then<B>
(
fn
:
function
)
:
Result
<
E
,
B
>
Type parameters
B
Parameters
fn:
function
(
_
:
A
)
:
Result
<
E
,
B
>
Parameters
_:
A
Returns
Result
<
E
,
B
>
Returns
Result
<
E
,
B
>
ap
ap<B, C>
(
result
:
Result
<
E
,
B
>
)
:
Result
<
E
,
C
>
Type parameters
B
C
Parameters
result:
Result
<
E
,
B
>
Returns
Result
<
E
,
C
>
assign
assign<K, B>
(
k
:
K
, other
:
Result
<
E
,
B
>
|
function
)
:
Result
<
E
,
A
&
object
>
Type parameters
K
:
string
B
Parameters
k:
K
other:
Result
<
E
,
B
>
|
function
Returns
Result
<
E
,
A
&
object
>
cata
cata<B>
(
matcher
:
Catamorphism
<
E
,
A
,
B
>
)
:
B
Type parameters
B
Parameters
matcher:
Catamorphism
<
E
,
A
,
B
>
Returns
B
do
do
(
fn
:
function
)
:
Result
<
E
,
A
>
Parameters
fn:
function
(
a
:
A
)
:
void
Parameters
a:
A
Returns
void
Returns
Result
<
E
,
A
>
get
OrElse
get
OrElse
(
fn
:
function
)
:
A
Parameters
fn:
function
(
)
:
A
Returns
A
Returns
A
get
OrElse
Value
get
OrElse
Value
(
defaultValue
:
A
)
:
A
Parameters
defaultValue:
A
Returns
A
map
map<B>
(
fn
:
function
)
:
Result
<
E
,
B
>
Type parameters
B
Parameters
fn:
function
(
_
:
A
)
:
B
Parameters
_:
A
Returns
B
Returns
Result
<
E
,
B
>
map
Error
map
Error<X>
(
fn
:
function
)
:
Result
<
X
,
A
>
Type parameters
X
Parameters
fn:
function
(
err
:
E
)
:
X
Parameters
err:
E
Returns
X
Returns
Result
<
X
,
A
>
or
Else
or
Else<X>
(
fn
:
function
)
:
Result
<
X
,
A
>
Type parameters
X
Parameters
fn:
function
(
err
:
E
)
:
Result
<
X
,
A
>
Parameters
err:
E
Returns
Result
<
X
,
A
>
Returns
Result
<
X
,
A
>
Globals
"
Catamorphism"
"
Err"
"
Ok"
"
Result"
"index"
Err
constructor
error
and
Then
ap
assign
cata
do
get
OrElse
get
OrElse
Value
map
map
Error
or
Else
err
Generated using
TypeDoc