RPCStatusType

wvlet.airframe.http.RPCStatusType
See theRPCStatusType companion object
sealed trait RPCStatusType extends PackSupport

RPC status types

Attributes

Companion:
object
Graph
Supertypes
trait PackSupport
class Object
trait Matchable
class Any
Known subtypes
object INTERNAL_ERROR.type
object RESOURCE_EXHAUSTED.type
object SUCCESS.type
object USER_ERROR.type

Members list

Concise view

Value members

Abstract methods

def codeRange: (Int, Int)

The error code range [start, end) Using multiples of 1000 for the readability.

The error code range [start, end) Using multiples of 1000 for the readability.

Attributes

def codeStringPrefix: String
def isValidHttpStatus(httpStatus: HttpStatus): Boolean

Concrete methods

def isValidCode(code: Int): Boolean
def maxCode: Int
def minCode: Int
def name: String
override def pack(p: Packer): Unit

Attributes

Definition Classes
PackSupport