Skip to main content
Version: Beta

ResponseStatus

description

Currently used for 204-like responses, when no data is expected in response. For example, in a mutaion that deletes something. In case of errors throw an exception.

enum ResponseStatus {
SUCCESS
PARTIAL
FAILED
NOT_FOUND
FORBIDDEN
INTERNAL_SERVER_ERROR
FAIL @deprecated
}

Values​

ResponseStatus.SUCCESS​

ResponseStatus.PARTIAL​

ResponseStatus.FAILED​

ResponseStatus.NOT_FOUND​

ResponseStatus.FORBIDDEN​

ResponseStatus.INTERNAL_SERVER_ERROR​

ResponseStatus.FAIL deprecated​

⚠️ DEPRECATED

Should not be used - throw an exception instead

Should not be used - throw an exception instead

Member Of​

MutationResult object ● WatchlistMutationResult object