cruncher-types-1.0.2: Request and Response types for Eval.so's API

Stabilitystable
MaintainerRicky Elrod <ricky@elrod.me>
Safe HaskellTrustworthy

Evalso.Cruncher.SandboxResult

Description

Contains data types/constructors for individual sandbox runs. For example, the compile step will produce a SandboxResult, which is defined in this module. The execution/evaluation step will also produce a SandboxResult.

Synopsis

Documentation

data SandboxResult Source

Describes the result we get back after performing an evaluation (or compilation). This is almost always wrapped in IO.

Constructors

SandboxResult 

Fields

stdout :: Text

Standard output stream

stderr :: Text

Standard error stream

wallTime :: Int

How long the process took

exitCode :: Int

The exit code returned by the process

outputFiles :: Map String ByteString

Base64-encoded output files