com.google.rpc.code

Members list

Concise view

Type members

Classlikes

sealed abstract class Code(val value: Int) extends GeneratedEnum

The canonical error codes for gRPC APIs.

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
trait GeneratedEnum
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Known subtypes
object ABORTED.type
object ALREADY_EXISTS.type
object CANCELLED.type
object DATA_LOSS.type
object DEADLINE_EXCEEDED.type
object INTERNAL.type
object INVALID_ARGUMENT.type
object NOT_FOUND.type
object OK.type
object OUT_OF_RANGE.type
object PERMISSION_DENIED.type
object RESOURCE_EXHAUSTED.type
object UNAUTHENTICATED.type
object UNAVAILABLE.type
object UNIMPLEMENTED.type
object UNKNOWN.type
object Code extends GeneratedEnumCompanion[Code]

Attributes

Companion:
class
Source:
Code.scala
Graph
Supertypes
trait Sum
trait Mirror
trait GeneratedEnumCompanion[Code]
trait Serializable
class Object
trait Matchable
class Any
Self type
Code.type
object CodeProto extends GeneratedFileObject

Attributes

Source:
CodeProto.scala
Graph
Supertypes
class GeneratedFileObject
class Object
trait Matchable
class Any
Self type