---
sidebar:
  label: roboto.action_runtime.exit_codes
  order: 2
title: roboto.action_runtime.exit_codes
---
## Module Contents

### ExitCode

```python
class roboto.action_runtime.exit_codes.ExitCode
```

`from roboto.action_runtime import ExitCode`

[Source](https://github.com/roboto-ai/roboto-python-sdk/blob/main/src/roboto/action_runtime/exit_codes.py#L10-L49)

Bases: `enum.IntEnum`

Defined exit codes used by the action runtime. Exception codes are adapted from /usr/include/sysexits.h

**Attributes**

- **ExitCode.ConfigurationError** = `78`: From /usr/include/sysexits.h: > EX_CONFIG 78 /\* configuration error \*/

- **ExitCode.DataError** = `65`

  **From /usr/include/sysexits.h:**

  \> EX_DATAERR -- The input data was incorrect in some way. > This should only be used for user's data & not system > files.

  We use this in our own ingestion actions to signify "the ingestion action did the right thing, but the input file was the wrong format, corrupted, a 0-byte file, etc."

- **ExitCode.InternalError** = `70`: From /usr/include/sysexits.h: > EX_SOFTWARE -- An internal software error has been detected. > This should be limited to non-operating system related > errors as possible.

- **ExitCode.Success** = `0`

- **ExitCode.UsageError** = `64`: From /usr/include/sysexits.h: > EX_USAGE -- The command was used incorrectly, e.g., with > the wrong number of arguments, a bad flag, a bad > syntax in a parameter, or whatever.
