object ErrorDetails
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- ErrorDetails
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Type Members
- sealed trait ErrorDetail extends Product with Serializable
- final case class ErrorInfoDetail(errorCodeId: String, metadata: Map[String, String]) extends ErrorDetail with Product with Serializable
- final case class RequestInfoDetail(correlationId: String) extends ErrorDetail with Product with Serializable
- final case class ResourceInfoDetail(name: String, typ: String) extends ErrorDetail with Product with Serializable
- final case class RetryInfoDetail(duration: Duration) extends ErrorDetail with Product with Serializable
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
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @IntrinsicCandidate() @native()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def from(anys: Seq[Any]): Seq[ErrorDetail]
- def from(e: StatusRuntimeException): Seq[ErrorDetail]
- def from(status: Status): Seq[ErrorDetail]
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @IntrinsicCandidate() @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @IntrinsicCandidate() @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def matches(t: Throwable, errorCode: ErrorCode): Boolean
- def matches(e: StatusRuntimeException, errorCode: ErrorCode): Boolean
- returns
whether a status runtime exception matches the error code. NOTE: This method is not suitable for:
- security sensitive error codes (e.g. internal or authentication related) as they are stripped from all the details when being converted to instances of io.grpc.StatusRuntimeException,
- error codes that do not translate to gRPC level errors (i.e. error codes that don't have a corresponding gRPC status)
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @IntrinsicCandidate() @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @IntrinsicCandidate() @native()
- 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])