search
Preparing search index...
The search index is not available
Modules
@cardano-
ogmios/client
@cardano-
ogmios/schema
#
@cardano-ogmios/client
JSONRPCError
Hierarchy
Error
JSONRPCError
Index
Constructors
constructor
Properties
code
data
id
message
name
stack
prepare
Stack
Trace
stack
Trace
Limit
Methods
capture
Stack
Trace
try
From
Constructors
constructor
new JSONRPCError
(
code
:
number
, message
:
string
, data
?:
any
, id
?:
any
)
:
JSONRPCError
Parameters
code:
number
message:
string
Optional
data:
any
Optional
id:
any
Returns
JSONRPCError
Properties
code
code
:
number
Optional
data
data
:
any
Optional
id
id
:
any
message
message
:
string
name
name
:
string
Optional
stack
stack
:
string
Static
Optional
prepare
Stack
Trace
prepare
Stack
Trace
:
function
Type declaration
(
err
:
Error
, stackTraces
:
CallSite
[]
)
:
any
Optional override for formatting stack traces
Parameters
err:
Error
stackTraces:
CallSite
[]
Returns
any
Static
stack
Trace
Limit
stack
Trace
Limit
:
number
Methods
Static
capture
Stack
Trace
capture
Stack
Trace
(
targetObject
:
object
, constructorOpt
?:
Function
)
:
void
Create .stack property on a target object
Parameters
targetObject:
object
Optional
constructorOpt:
Function
Returns
void
Static
try
From
try
From
(
any
:
any
)
:
JSONRPCError
Parameters
any:
any
Returns
JSONRPCError
Optional override for formatting stack traces