Skip to content

procxy / ErrorInfo

Interface: ErrorInfo

Defined in: src/shared/protocol.ts:151

Error information serialized in Response messages. Preserves error message, stack trace, name, and optional code.

Properties

PropertyTypeDescriptionDefined in
code?stringOptional error code (e.g., 'ENOENT', 'EACCES') for Node.js system errorssrc/shared/protocol.ts:159
messagestringHuman-readable error description, copied from Error.messagesrc/shared/protocol.ts:153
namestringError class name (e.g., 'TypeError', 'RangeError'), copied from Error.namesrc/shared/protocol.ts:157
stack?stringFull stack trace captured in the child process; absent for non-Error throwssrc/shared/protocol.ts:155

Released under the MIT License.