com.google.rpc.Code
See theCode companion object
The canonical error codes for gRPC APIs.
Sometimes multiple error codes may apply. Services should return
the most specific error code that applies. For example, prefer
OUT_OF_RANGE
over FAILED_PRECONDITION
if both codes apply.
Similarly prefer NOT_FOUND
or ALREADY_EXISTS
over FAILED_PRECONDITION
.
Attributes
- Companion:
- object
- Source:
- Code.scala
- Graph
- Supertypes
- Known subtypes
- object ABORTED.typeobject ALREADY_EXISTS.typeobject CANCELLED.typeobject DATA_LOSS.typeobject DEADLINE_EXCEEDED.typeobject FAILED_PRECONDITION.typeobject INTERNAL.typeobject INVALID_ARGUMENT.typeobject NOT_FOUND.typeobject OK.typeobject OUT_OF_RANGE.typeobject PERMISSION_DENIED.typeobject RESOURCE_EXHAUSTED.typetrait Recognizedobject UNAUTHENTICATED.typeobject UNAVAILABLE.typeobject UNIMPLEMENTED.typeobject UNKNOWN.typeclass Unrecognized