Skip to content

Code Interpreter / OutputMessage

Interface: OutputMessage

Represents an output message from the sandbox code execution.

Properties

error

readonly error: boolean

Whether the output is an error.


line

readonly line: string

The output line.


timestamp

readonly timestamp: number

Unix epoch in nanoseconds.

Methods

toString()

toString(): string

Returns

string