@neutral-trade/sdk - v1.0.0
GitHub
Preparing search index...
isNtbundleError
Function isNtbundleError
isNtbundleError
<
TProgramErrorCode
extends
NtbundleError
>
(
error
:
unknown
,
transactionMessage
:
{
instructions
:
Record
<
number
,
{
programAddress
:
Address
}
>
;
}
,
code
?:
TProgramErrorCode
,
)
:
error
is
SolanaError
<
4615026
>
&
Readonly
<
{
context
:
Readonly
<
{
code
:
TProgramErrorCode
}
>
}
,
>
Type Parameters
TProgramErrorCode
extends
NtbundleError
Parameters
error
:
unknown
transactionMessage
:
{
instructions
:
Record
<
number
,
{
programAddress
:
Address
}
>
}
Optional
code
:
TProgramErrorCode
Returns
error
is
SolanaError
<
4615026
>
&
Readonly
<
{
context
:
Readonly
<
{
code
:
TProgramErrorCode
}
>
}
,
>
Settings
Member Visibility
Inherited
External
Theme
OS
Light
Dark
GitHub
@neutral-trade/sdk - v1.0.0
Loading...