case classApplicationError(message: String) extends Exception with Product with Serializable
Represents an application error that an implementation does not know how to
encode or decode.
Represents an application error that an implementation does not know how to
encode or decode.
While io.github.finagle.Serial implementations can provide a codec for
any exceptions they wish to pass through to clients, there is no requirement
that this codec should encode all possible errors. If the codec fails to
encode an error, a io.github.finagle.serial.ApplicationError is returned
that contains that error's message.
case classCodecError(message: String) extends Exception with Product with Serializable
Represents an error that occurs during encoding or decoding.
Represents an application error that an implementation does not know how to encode or decode.
While io.github.finagle.Serial implementations can provide a codec for any exceptions they wish to pass through to clients, there is no requirement that this codec should encode all possible errors. If the codec fails to encode an error, a io.github.finagle.serial.ApplicationError is returned that contains that error's message.