Skip to content
This repository has been archived by the owner on Dec 1, 2021. It is now read-only.

[KH-13246] More Errors #235

Closed
wants to merge 5 commits into from
Closed

Conversation

coldfgirl
Copy link

@coldfgirl coldfgirl commented Dec 10, 2020

Adding more errors to have better granularity. The structure and thought behind these additions is as follows:

Data State Errors

AlreadyExists [NEW]

The resource trying to be created already exists.

ConflictingChanges [NEW]

Changes to a resource cannot be performed due to conflicts with other existing resources.

NotFound

Resource is not found.

Parameter Errors

BadFormat [NEW]

Data provided is of the correct type but is in a format that could not be understood.

InvalidArgument

Data provided was invalid.

MissingAgrument [NEW]

Data was expected but is missing.

UnsupportedType

Data has been provded in an unsupported type.

Uninitialzied [NEW]

A dependency hasn’t been initialized but is required.

General System Errors

IO [NEW]

An I/O operation failed.

DataLoad

Data could not be loaded.

Network [NEW]

Network operation failed.

Permission Errors

AccessDenied [NEW]

Current context does not have permission to access this action.

Disabled [NEW]

The action is disabled (feature flagging, etc) in a way that’s not necessarily specific to this context.

Limited [NEW]

The action has been temporarily limited (rate limiting, etc) in a way that is not based off of the application state.

@coldfgirl
Copy link
Author

Oops, wrong fork sorry!

@coldfgirl coldfgirl closed this Dec 10, 2020
@puellanivis
Copy link

I was wondering why a JIRA ticket was attached. 😆

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants