UNAVAILABLE_I2

case object UNAVAILABLE_I2 extends RPCStatus

The service is unavailable.

trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
class RPCStatus
trait PackSupport
class Object
trait Matchable
class Any

Type members

Inherited types

type MirroredElemLabels = EmptyTuple
Inherited from:
Singleton
type MirroredElemTypes = EmptyTuple
Inherited from:
Singleton
type MirroredLabel <: String

The name of the type

The name of the type

Inherited from:
Mirror
type MirroredMonoType = Singleton
Inherited from:
Singleton
type MirroredType = Singleton
Inherited from:
Singleton

Value members

Inherited methods

def fromProduct(p: Product): MirroredMonoType
Inherited from:
Singleton

http status code derived from grpc status code

http status code derived from grpc status code

Inherited from:
RPCStatus
def isFailure: Boolean
Inherited from:
RPCStatus
def isSuccess: Boolean
Inherited from:
RPCStatus
def name: String

The error code name.

The error code name.

Inherited from:
RPCStatus
def newException(message: String, cause: Throwable, appErrorCode: Int, metadata: Map[String, Any]): RPCException

Create a new RPCException with this RPCStatus.

Create a new RPCException with this RPCStatus.

Value parameters:
appErrorCode

application-specific error code. default: -1 (None)

cause

the cause of the error (optional)

message

the error message (required)

metadata

application-specific metadata (optional)

Inherited from:
RPCStatus
override def pack(p: Packer): Unit
Definition Classes
RPCStatus -> PackSupport
Inherited from:
RPCStatus
def productElementNames: Iterator[String]
Inherited from:
Product
def productIterator: Iterator[Any]
Inherited from:
Product

Inherited fields

lazy val code: Int

Integer-based error code

Integer-based error code

Inherited from:
RPCStatus
Inherited from:
RPCStatus