RPCErrorMessage

case class RPCErrorMessage(code: Int, codeName: String, message: String, stackTrace: Option[Seq[GenericStackTraceElement]], cause: Option[Throwable], appErrorCode: Option[Int], metadata: Map[String, Any])

A model class for RPC error message body. This message will be embedded to HTTP response body or gRPC trailer.

We need this class to avoid directly serde RPCException classes with airframe-codec, so that we can properly propagate the exact stack trace to the client.

trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any

Value members

Inherited methods

def productElementNames: Iterator[String]
Inherited from:
Product
def productIterator: Iterator[Any]
Inherited from:
Product