Packages

package exception

Type Members

  1. 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

  2. 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

  3. 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

  4. 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

  5. sealed abstract class AlgoliaRuntimeException extends RuntimeException

    Algolia runtime exception.

  6. 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

Ungrouped