Code

com.google.rpc.Code
See theCode companion object
sealed abstract class Code(val value: Int) extends GeneratedEnum

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

Members list

Concise view

Type members

Types

type EnumType = Code

Attributes

Source:
Code.scala

Value members

Concrete methods

Attributes

Source:
Code.scala
def companion: GeneratedEnumCompanion[Code]

Attributes

Source:
Code.scala

Attributes

Source:
Code.scala

Attributes

Source:
Code.scala

Attributes

Source:
Code.scala

Attributes

Source:
Code.scala

Attributes

Source:
Code.scala

Attributes

Source:
Code.scala

Attributes

Source:
Code.scala

Attributes

Source:
Code.scala

Attributes

Source:
Code.scala

Attributes

Source:
Code.scala

Attributes

Source:
Code.scala

Attributes

Source:
Code.scala

Attributes

Source:
Code.scala

Inherited methods

def canEqual(that: Any): Boolean

Attributes

Inherited from:
Equals
def index: Int

Attributes

Inherited from:
GeneratedEnum
Source:
GeneratedMessageCompanion.scala

Attributes

Inherited from:
GeneratedEnum
Source:
GeneratedMessageCompanion.scala
def javaValueDescriptor: EnumValueDescriptor

Attributes

Inherited from:
GeneratedEnum
Source:
GeneratedMessageCompanion.scala

Attributes

Inherited from:
GeneratedEnum
Source:
GeneratedMessageCompanion.scala

Attributes

Inherited from:
Product
def productElement(n: Int): Any

Attributes

Inherited from:
Product

Attributes

Inherited from:
Product

Attributes

Inherited from:
Product

Attributes

Inherited from:
Product

Attributes

Inherited from:
Product
def scalaValueDescriptor: EnumValueDescriptor

Attributes

Inherited from:
GeneratedEnum
Source:
GeneratedMessageCompanion.scala
override def toString: String

Returns a string representation of the object.

Returns a string representation of the object.

The default representation is platform dependent.

Attributes

Returns:

a string representation of the object.

Definition Classes
GeneratedEnum -> Any
Inherited from:
GeneratedEnum
Source:
GeneratedMessageCompanion.scala

Concrete fields

val value: Int

Attributes

Source:
Code.scala