object GrpcError
- Alphabetic
- By Inheritance
- GrpcError
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Type Members
- final case class GrpcClientError(request: String, serverName: String, status: Status, optTrailers: Option[Metadata], decodedRpcStatus: Option[DecodedRpcStatus]) extends GrpcError with Product with Serializable
The server has refused the request, because it is invalid.
The server has refused the request, because it is invalid. The client should not have sent the request. The server has not processed the request. It does not make sense to retry.
- final case class GrpcClientGaveUp(request: String, serverName: String, status: Status, optTrailers: Option[Metadata], decodedRpcStatus: Option[DecodedRpcStatus]) extends GrpcError with Product with Serializable
The client gave up waiting for a response.
The client gave up waiting for a response. The server may or may not process the request. It may or may not make sense to retry, depending on the specific situation.
- final case class GrpcRequestRefusedByServer(request: String, serverName: String, status: Status, optTrailers: Option[Metadata], decodedRpcStatus: Option[DecodedRpcStatus]) extends GrpcError with Product with Serializable
The server was unable to process the request.
The server was unable to process the request. The server has not processed the request. It may or may not make sense to retry, depending on the specific situation.
- final case class GrpcServerError(request: String, serverName: String, status: Status, optTrailers: Option[Metadata], decodedRpcStatus: Option[DecodedRpcStatus]) extends GrpcError with Product with Serializable
An internal error has occurred at the server.
An internal error has occurred at the server. The server may have partially processed the request. It does not make sense to retry.
- final case class GrpcServiceUnavailable(request: String, serverName: String, status: Status, optTrailers: Option[Metadata], decodedRpcStatus: Option[DecodedRpcStatus]) extends GrpcError with Product with Serializable
The server or the service was unavailable.
The server or the service was unavailable. The server has not processed the request. It makes sense to retry.
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
- def apply(request: String, serverName: String, e: StatusRuntimeException): GrpcError
- Annotations
- @nowarn()
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def checkAuthenticationError(optTrailers: Option[Metadata], expectAny: Seq[String]): Boolean
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @IntrinsicCandidate()
- def collectCauses(maybeThrowable: Option[Throwable]): Seq[String]
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- 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()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])