@adcp/client API Reference - v4.19.0
Documentation
GitHub
npm
Preparing search index...
isGovernanceAdapterError
Function isGovernanceAdapterError
isGovernanceAdapterError
(
response
:
unknown
,
)
:
response
is
{
error
:
{
code
:
GovernanceAdapterErrorCode
;
message
?:
string
}
;
}
Type guard: check if a response is a governance adapter error.
Parameters
response
:
unknown
Returns
response
is
{
error
:
{
code
:
GovernanceAdapterErrorCode
;
message
?:
string
}
}
Settings
Member Visibility
Inherited
External
Theme
OS
Light
Dark
Documentation
GitHub
npm
@adcp/client API Reference - v4.19.0
Loading...
Type guard: check if a response is a governance adapter error.