Motif API
GitHub
Motif
Preparing search index...
types/sys/comma-text-result-api
CommaTextErr
Interface CommaTextErr<T, E>
interface
CommaTextErr
<
T
=
undefined
,
E
=
string
>
{
code
:
|
"UnexpectedCharAfterQuotedElement"
|
"QuotesNotClosedInLastElement"
|
"InvalidIntegerString"
;
error
:
E
;
createOuter
<
OuterT
=
undefined
>
(
outerError
:
string
)
:
Err
<
OuterT
>
;
isErr
()
:
this
is
Err
<
T
,
E
>
;
isOk
()
:
this
is
Ok
<
T
,
E
>
;
}
Type Parameters
T
=
undefined
E
=
string
Hierarchy (
View Summary
)
Err
<
T
,
E
>
CommaTextErr
Index
Properties
code
error
Methods
create
Outer
is
Err
is
Ok
Properties
Readonly
code
code
:
|
"UnexpectedCharAfterQuotedElement"
|
"QuotesNotClosedInLastElement"
|
"InvalidIntegerString"
Readonly
error
error
:
E
Methods
create
Outer
createOuter
<
OuterT
=
undefined
>
(
outerError
:
string
)
:
Err
<
OuterT
>
Type Parameters
OuterT
=
undefined
Parameters
outerError
:
string
Returns
Err
<
OuterT
>
is
Err
isErr
()
:
this
is
Err
<
T
,
E
>
Returns
this
is
Err
<
T
,
E
>
is
Ok
isOk
()
:
this
is
Ok
<
T
,
E
>
Returns
this
is
Ok
<
T
,
E
>
Settings
Member Visibility
Inherited
External
Theme
OS
Light
Dark
On This Page
Properties
code
error
Methods
create
Outer
is
Err
is
Ok
GitHub
Motif
Motif API
Loading...