Interface: ErrorDescription
Defined in: packages/messaging/src/describe-error.ts:4
An error reduced to what a log line may carry.
Properties
class
readonlyclass:string
Defined in: packages/messaging/src/describe-error.ts:6
The constructor's name, which is more telling than name (pg's is error).
code?
readonlyoptionalcode?:string
Defined in: packages/messaging/src/describe-error.ts:8
A PostgreSQL SQLSTATE or a Node system code such as ECONNREFUSED, when there is one.
message?
readonlyoptionalmessage?:string
Defined in: packages/messaging/src/describe-error.ts:10
The message, scrubbed, with quoted literals elided where they may echo a value.
stack?
readonlyoptionalstack?:string
Defined in: packages/messaging/src/describe-error.ts:12
Frames only (never the message line), scrubbed.