All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.devsisters.shardcake.errors.SendTimeoutException.scala Maven / Gradle / Ivy

package com.devsisters.shardcake.errors

import com.devsisters.shardcake.EntityType

/**
 * Exception indicating than a send didn't receive any response within the configured timeout.
 */
case class SendTimeoutException[A](entityType: EntityType[A], entityId: String, body: A) extends Exception {
  override def getMessage: String = s"Timeout sending message to ${entityType.name} $entityId - $body"
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy