algorithmiaio/langpacks

RunnerOutput error type does not match langpack guide specification

Opened this issue · 1 comments

zeryx commented

The RunnerOutput object is defined here:

Failure { error: ErrorMessage },

The Output section of bin/pipe makes no mention of an error key:
https://github.com/algorithmiaio/langpacks/blob/master/langpack_guide.md#binpipe

In the existing Python runtime, you can see a encapsulating error key that wraps the error object, here:
https://github.com/algorithmiaio/langpacks/blob/master/libraries/python3-runtime/context/pipe#L66-L77

pmcq commented

this is a bug in documentation - feel free to update the langpack_guide.md