Module: Kohagi::ExitCode

Defined in:
lib/kohagi/exit_code.rb

Overview

The exit codes kohagi uses (see PROTOCOL.md), named in one place so the raise-vs-return decision (Client#raise_for) and the outcome classification (Summary#ok? / #partial?) can't drift apart.

Constant Summary collapse

OK =

every record embedded

0
PARTIAL =

finished, but some input lines were skipped; output valid

2
FATAL =

model load failure, bad flags, I/O error

1
UNSUPPORTED =

the requested CoreML backend cannot serve the request

3