FAILED_PRECONDITION

case object FAILED_PRECONDITION extends Code with Recognized

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

Source:
Code.scala
trait Singleton
trait Product
trait Mirror
class Code
trait GeneratedEnum
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any

Type members

Inherited types

type EnumType = Code
Inherited from:
Code
Source:
Code.scala
type MirroredElemLabels = EmptyTuple

The names of the product elements

The names of the product elements

Inherited from:
Singleton
Source:
Mirror.scala
type MirroredElemTypes = EmptyTuple
Inherited from:
Singleton
Source:
Mirror.scala

The name of the type

The name of the type

Inherited from:
Mirror
Source:
Mirror.scala
type MirroredMonoType = Singleton.this.type

The mirrored *-type

The mirrored *-type

Inherited from:
Singleton
Source:
Mirror.scala
type MirroredType = Singleton.this.type
Inherited from:
Singleton
Source:
Mirror.scala

Value members

Concrete methods

Definition Classes
Source:
Code.scala

Inherited methods

Inherited from:
Code
Source:
Code.scala
def companion: GeneratedEnumCompanion[Code]
Inherited from:
Code
Source:
Code.scala
def fromProduct(p: Product): MirroredMonoType

Create a new instance of type T with elements taken from product p.

Create a new instance of type T with elements taken from product p.

Inherited from:
Singleton
Source:
Mirror.scala
Inherited from:
Code
Source:
Code.scala
Inherited from:
Code
Source:
Code.scala
Inherited from:
Code
Source:
Code.scala
Inherited from:
Code
Source:
Code.scala
Inherited from:
Code
Source:
Code.scala
Inherited from:
Code
Source:
Code.scala
Inherited from:
Code
Source:
Code.scala
Inherited from:
Code
Source:
Code.scala
Inherited from:
Code
Source:
Code.scala
Inherited from:
Code
Source:
Code.scala
Inherited from:
Code
Source:
Code.scala
Inherited from:
Code
Source:
Code.scala
Inherited from:
Code
Source:
Code.scala
Inherited from:
Code
Source:
Code.scala
Inherited from:
Code
Source:
Code.scala
Inherited from:
Code
Source:
Code.scala
Inherited from:
GeneratedEnum
Source:
GeneratedMessageCompanion.scala
def javaValueDescriptor: EnumValueDescriptor
Inherited from:
GeneratedEnum
Source:
GeneratedMessageCompanion.scala
Inherited from:
Product
def scalaValueDescriptor: EnumValueDescriptor
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.

Returns:

a string representation of the object.

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

Concrete fields

val index: Int
Source:
Code.scala

Inherited fields

val value: Int
Inherited from:
Code
Source:
Code.scala