@keetanetwork/keetanet-client
Preparing search index...
KeetaNetSDK
Referenced
KeetaNetErrorBase
Class KeetaNetErrorBase<CodeType>
Type Parameters
CodeType
extends
string
Hierarchy (
View Summary
)
Error
KeetaNetErrorBase
KeetaNetError
KeetaNetLedgerError
KeetaNetLedgerVoteError
KeetaNetLedgerIdempotentKeyError
Index
Constructors
C
constructor
Properties
P
code
P
type
P
is
Instance
Methods
M
to
JSON
Constructors
constructor
new
KeetaNetErrorBase
<
CodeType
extends
string
>
(
code
:
CodeType
,
message
:
string
,
validation
?:
ValidationOptions
,
)
:
KeetaNetErrorBase
<
CodeType
>
Type Parameters
CodeType
extends
string
Parameters
code
:
CodeType
message
:
string
Optional
validation
:
ValidationOptions
Returns
KeetaNetErrorBase
<
CodeType
>
Properties
code
code
:
CodeType
type
type
:
string
Static
Readonly
is
Instance
isInstance
:
(
obj
:
any
,
strict
?:
boolean
)
=>
obj
is
KeetaNetErrorBase
<
string
>
= ...
Methods
to
JSON
toJSON
()
:
{
code
:
CodeType
;
message
:
string
;
type
:
string
}
Returns
{
code
:
CodeType
;
message
:
string
;
type
:
string
}
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
C
constructor
Properties
P
code
P
type
P
is
Instance
Methods
M
to
JSON
@keetanetwork/keetanet-client
Loading...