OUT_OF_RANGE

com.google.rpc.Code$.OUT_OF_RANGE$
case object OUT_OF_RANGE extends Code with Recognized

The operation was attempted past the valid range. E.g., seeking or reading past end-of-file.

Unlike INVALID_ARGUMENT, this error indicates a problem that may be fixed if the system state changes. For example, a 32-bit file system will generate INVALID_ARGUMENT if asked to read at an offset that is not in the range [0,2^32-1], but it will generate OUT_OF_RANGE if asked to read from an offset past the current file size.

There is a fair bit of overlap between FAILED_PRECONDITION and OUT_OF_RANGE. We recommend using OUT_OF_RANGE (the more specific error) when it applies so that callers who are iterating through a space can easily look for an OUT_OF_RANGE error to detect when they are done.

HTTP Mapping: 400 Bad Request

Attributes

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

Members list

Concise view

Type members

Inherited types

type EnumType = Code

Attributes

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

The names of the product elements

The names of the product elements

Attributes

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

Attributes

Inherited from:
Singleton
Source:
Mirror.scala

The name of the type

The name of the type

Attributes

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

The mirrored *-type

The mirrored *-type

Attributes

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

Attributes

Inherited from:
Singleton
Source:
Mirror.scala

Value members

Concrete methods

override def isOutOfRange: Boolean

Attributes

Definition Classes
Source:
Code.scala

Inherited methods

Attributes

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

Attributes

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.

Attributes

Inherited from:
Singleton
Source:
Mirror.scala

Attributes

Inherited from:
Code
Source:
Code.scala

Attributes

Inherited from:
Code
Source:
Code.scala

Attributes

Inherited from:
Code
Source:
Code.scala

Attributes

Inherited from:
Code
Source:
Code.scala

Attributes

Inherited from:
Code
Source:
Code.scala

Attributes

Inherited from:
Code
Source:
Code.scala

Attributes

Inherited from:
Code
Source:
Code.scala

Attributes

Inherited from:
Code
Source:
Code.scala

Attributes

Inherited from:
Code
Source:
Code.scala

Attributes

Inherited from:
Code
Source:
Code.scala

Attributes

Inherited from:
Code
Source:
Code.scala

Attributes

Inherited from:
Code
Source:
Code.scala

Attributes

Inherited from:
Code
Source:
Code.scala

Attributes

Inherited from:
Code
Source:
Code.scala

Attributes

Inherited from:
Code
Source:
Code.scala

Attributes

Inherited from:
Code
Source:
Code.scala

Attributes

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

Attributes

Inherited from:
GeneratedEnum
Source:
GeneratedMessageCompanion.scala

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 index: Int

Attributes

Source:
Code.scala

Attributes

Source:
Code.scala

Inherited fields

val value: Int

Attributes

Inherited from:
Code
Source:
Code.scala