Packages

sealed abstract class Code 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.

Source
Code.scala
Linear Supertypes
GeneratedEnum, Serializable, Product, Equals, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Code
  2. GeneratedEnum
  3. Serializable
  4. Product
  5. Equals
  6. AnyRef
  7. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Type Members

  1. type EnumType = Code
    Definition Classes
    Code → GeneratedEnum

Abstract Value Members

  1. abstract def canEqual(that: Any): Boolean
    Definition Classes
    Equals
  2. abstract def index: Int
    Definition Classes
    GeneratedEnum
  3. abstract def name: String
    Definition Classes
    GeneratedEnum
  4. abstract def productArity: Int
    Definition Classes
    Product
  5. abstract def productElement(n: Int): Any
    Definition Classes
    Product

Concrete Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. final def asRecognized: Option[Recognized]
  6. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  7. def companion: GeneratedEnumCompanion[Code]
    Definition Classes
    Code → GeneratedEnum
  8. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  9. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  10. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  11. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  12. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  13. def isAborted: Boolean
  14. def isAlreadyExists: Boolean
  15. def isCancelled: Boolean
  16. def isDataLoss: Boolean
  17. def isDeadlineExceeded: Boolean
  18. def isFailedPrecondition: Boolean
  19. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  20. def isInternal: Boolean
  21. def isInvalidArgument: Boolean
  22. def isNotFound: Boolean
  23. def isOk: Boolean
  24. def isOutOfRange: Boolean
  25. def isPermissionDenied: Boolean
  26. def isResourceExhausted: Boolean
  27. def isUnauthenticated: Boolean
  28. def isUnavailable: Boolean
  29. def isUnimplemented: Boolean
  30. def isUnknown: Boolean
  31. def isUnrecognized: Boolean
    Definition Classes
    GeneratedEnum
  32. def javaValueDescriptor: EnumValueDescriptor
    Definition Classes
    GeneratedEnum
  33. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  34. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  35. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  36. def productElementName(n: Int): String
    Definition Classes
    Product
  37. def productElementNames: Iterator[String]
    Definition Classes
    Product
  38. def productIterator: Iterator[Any]
    Definition Classes
    Product
  39. def productPrefix: String
    Definition Classes
    Product
  40. def scalaValueDescriptor: EnumValueDescriptor
    Definition Classes
    GeneratedEnum
  41. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  42. def toString(): String
    Definition Classes
    GeneratedEnum → Any
  43. val value: Int
    Definition Classes
    Code → GeneratedEnum
  44. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  45. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  46. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()

Inherited from GeneratedEnum

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Ungrouped