blob: 976d5e5c9fbfb3f386da8347846aec495886c54c [file] [log] [blame]
module.exports = {
MISSING_FEED_NAME_ERROR: 'Missing mandatory feedName or id parameters from options.',
MISSING_FEED_TRIGGER_ERROR: 'Missing mandatory trigger parameter from options.',
MISSING_ACTION_ERROR: 'Missing mandatory actionName parameter from options.',
INVALID_ACTION_ERROR: 'Invalid actionName parameter from options. Should be "action", "/namespace/action" or "/namespace/package/action".',
INVALID_RESOURCE_ERROR: 'Invalid resource identifier from options. Should be "resource", "/namespace/resource" or "/namespace/package/resource".',
MISSING_ACTION_BODY_ERROR: 'Missing mandatory action parameter from options.',
MISSING_RULE_ERROR: 'Missing mandatory ruleName parameter from options.',
MISSING_TRIGGER_ERROR: 'Missing mandatory triggerName parameter from options.',
MISSING_PACKAGE_ERROR: 'Missing mandatory packageName parameter from options.',
MISSING_ACTIVATION_ID_ERROR: 'Missing mandatory activation parameter from options.',
MISSING_RULE_ACTION_ERROR: 'Missing mandatory action parameter from options.',
MISSING_RULE_TRIGGER_ERROR: 'Missing mandatory trigger parameter from options.',
MISSING_TRIGGER_BODY_ERROR: 'Missing mandatory trigger parameter from options.',
MISSING_PACKAGE_BODY_ERROR: 'Missing mandatory package parameter from options.',
MISSING_NAMESPACE_ERROR: 'Missing namespace from options, please set a default namespace or pass one in the options.',
INVOKE_TIMEOUT_ERROR: 'Action invocation timed out before completing.',
CREATE_CONFLICT_ERROR: 'Conflict detected updating resource.',
INVALID_AUTH_ERROR: 'OpenWhisk authentication failed, check API key?',
BAD_REQUEST_ERROR: 'API call failed due to invalid request payload.',
MISSING_URL_ERROR: 'Invalid URL for API called, OpenWhisk returned HTTP 404 response.',
API_SYSTEM_ERROR: 'API call failed, response contained error code.',
ACTION_INVOCATION_ERROR: 'Action invocation failed, API returned error code. Check syntax errors?',
INVALID_OPTIONS_ERROR: 'Invalid constructor options.',
MISSING_BASEPATH_ERROR: 'Missing mandatory basepath parameter from options.'
}