Module: Cyclid::API::Errors::HTTPErrors

Defined in:
lib/cyclid/errors.rb

Overview

Identifiers for HTTP JSON error bodies

Constant Summary collapse

NO_ERROR =

Success

0
INTERNAL_ERROR =

Something caught an exception

1
INVALID_JSON =

The JSON in the request body could not be parsed

2
AUTH_FAILURE =

Invalid username or password, or not an admin

3
DUPLICATE =

A unique entry already exists

4
INVALID_USER =

User does not exist

10
INVALID_ORG =

Organization does not exist

11
INVALID_STAGE =

Stage does not exist

12
INVALID_ACTION =

No plugin found for the given action

13
INVALID_JOB =

Job definition is incorrect or does not exist

14
INVALID_PLUGIN =

Requested plugin does not exist

15
INVALID_PLUGIN_CONFIG =

Could not get a configuration for the given plugin

16
PLUGIN_ERROR =

API plugin request failed

20