SerializedError
SIP Protocol API Reference v0.7.2
SIP Protocol API Reference / SerializedError
Interface: SerializedError
Section titled “Interface: SerializedError”Defined in: @sip-protocol/sdk/dist/index-CzWPI6Le.d.ts:78
Serialized error format for logging and transmission
Properties
Section titled “Properties”name:
string
Defined in: @sip-protocol/sdk/dist/index-CzWPI6Le.d.ts:79
code:
ErrorCode
Defined in: @sip-protocol/sdk/dist/index-CzWPI6Le.d.ts:80
message
Section titled “message”message:
string
Defined in: @sip-protocol/sdk/dist/index-CzWPI6Le.d.ts:81
field?
Section titled “field?”
optionalfield:string
Defined in: @sip-protocol/sdk/dist/index-CzWPI6Le.d.ts:82
context?
Section titled “context?”
optionalcontext:Record<string,unknown>
Defined in: @sip-protocol/sdk/dist/index-CzWPI6Le.d.ts:83
cause?
Section titled “cause?”
optionalcause:string
Defined in: @sip-protocol/sdk/dist/index-CzWPI6Le.d.ts:84
stack?
Section titled “stack?”
optionalstack:string
Defined in: @sip-protocol/sdk/dist/index-CzWPI6Le.d.ts:85
timestamp
Section titled “timestamp”timestamp:
string
Defined in: @sip-protocol/sdk/dist/index-CzWPI6Le.d.ts:86