case object FAILED_PRECONDITION extends Code with Recognized with Product with Serializable
The operation was rejected because the system is not in a state required for the operation's execution. For example, the directory to be deleted is non-empty, an rmdir operation is applied to a non-directory, etc.
Service implementors can use the following guidelines to decide
between FAILED_PRECONDITION
, ABORTED
, and UNAVAILABLE
:
(a) Use UNAVAILABLE
if the client can retry just the failing call.
(b) Use ABORTED
if the client should retry at a higher level
(e.g., when a client-specified test-and-set fails, indicating the
client should restart a read-modify-write sequence).
(c) Use FAILED_PRECONDITION
if the client should not retry until
the system state has been explicitly fixed. E.g., if an "rmdir"
fails because the directory is non-empty, FAILED_PRECONDITION
should be returned since the client should not retry unless
the files are deleted from the directory.
HTTP Mapping: 400 Bad Request
- Annotations
- @SerialVersionUID()
- Source
- Code.scala
- Alphabetic
- By Inheritance
- FAILED_PRECONDITION
- Recognized
- Code
- GeneratedEnum
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- final def asRecognized: Option[Recognized]
- Definition Classes
- Code
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- def companion: GeneratedEnumCompanion[Code]
- Definition Classes
- Code → GeneratedEnum
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- val index: Int
- Definition Classes
- FAILED_PRECONDITION → GeneratedEnum
- def isAborted: Boolean
- Definition Classes
- Code
- def isAlreadyExists: Boolean
- Definition Classes
- Code
- def isCancelled: Boolean
- Definition Classes
- Code
- def isDataLoss: Boolean
- Definition Classes
- Code
- def isDeadlineExceeded: Boolean
- Definition Classes
- Code
- def isFailedPrecondition: Boolean
- Definition Classes
- FAILED_PRECONDITION → Code
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def isInternal: Boolean
- Definition Classes
- Code
- def isInvalidArgument: Boolean
- Definition Classes
- Code
- def isNotFound: Boolean
- Definition Classes
- Code
- def isOk: Boolean
- Definition Classes
- Code
- def isOutOfRange: Boolean
- Definition Classes
- Code
- def isPermissionDenied: Boolean
- Definition Classes
- Code
- def isResourceExhausted: Boolean
- Definition Classes
- Code
- def isUnauthenticated: Boolean
- Definition Classes
- Code
- def isUnavailable: Boolean
- Definition Classes
- Code
- def isUnimplemented: Boolean
- Definition Classes
- Code
- def isUnknown: Boolean
- Definition Classes
- Code
- def isUnrecognized: Boolean
- Definition Classes
- GeneratedEnum
- def javaValueDescriptor: EnumValueDescriptor
- Definition Classes
- GeneratedEnum
- val name: String
- Definition Classes
- FAILED_PRECONDITION → GeneratedEnum
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- def productElementName(n: Int): String
- Definition Classes
- Product
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- def scalaValueDescriptor: EnumValueDescriptor
- Definition Classes
- GeneratedEnum
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- GeneratedEnum → Any
- val value: Int
- Definition Classes
- Code → GeneratedEnum
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()