package exception
Type Members
- case class AlgoliaApiException(message: String = null, cause: Throwable = null, httpErrorCode: Int = -1) extends AlgoliaRuntimeException with Product with Serializable
Exception thrown in case of API failure.
Exception thrown in case of API failure.
- message
the detail message
- cause
the cause of the exception
- httpErrorCode
HTTP error code
- case class AlgoliaClientException(message: String = null, cause: Throwable = null) extends AlgoliaRuntimeException with Product with Serializable
Exception thrown when an error occurs during API requests.
Exception thrown when an error occurs during API requests.
- message
the detail message
- cause
the cause of the exception
- case class AlgoliaRequestException(message: String = null, cause: Throwable = null, httpErrorCode: Int = -1) extends AlgoliaRuntimeException with Product with Serializable
Exception thrown when an error occurs during API requests.
Exception thrown when an error occurs during API requests.
- message
the detail message
- cause
the cause of the exception
- case class AlgoliaRetryException(exceptions: List[Throwable]) extends AlgoliaRuntimeException with Product with Serializable
Exception thrown when all hosts are unreachable.
Exception thrown when all hosts are unreachable. When several errors occurred, use the last one as the cause for the returned exception.
- exceptions
list of thrown exceptions
- sealed abstract class AlgoliaRuntimeException extends RuntimeException
Algolia runtime exception.
- case class AlgoliaWaitException(message: String = null) extends AlgoliaRuntimeException with Product with Serializable
Exception thrown when an error occurs during the wait strategy.
Exception thrown when an error occurs during the wait strategy. For example: maximum number of retry exceeded.
- message
the detail message