algoliasearch.exception

Members list

Type members

Classlikes

case class AlgoliaApiException(message: String, cause: Throwable, httpErrorCode: Int) extends AlgoliaRuntimeException

Exception thrown in case of API failure.

Exception thrown in case of API failure.

Value parameters

cause

the cause of the exception

httpErrorCode

HTTP error code

message

the detail message

Attributes

Supertypes
trait Product
trait Equals
class RuntimeException
class Exception
class Throwable
trait Serializable
class Object
trait Matchable
class Any
Show all
case class AlgoliaClientException(message: String, cause: Throwable) extends AlgoliaRuntimeException

Exception thrown when an error occurs during API requests.

Exception thrown when an error occurs during API requests.

Value parameters

cause

the cause of the exception

message

the detail message

Attributes

Supertypes
trait Product
trait Equals
class RuntimeException
class Exception
class Throwable
trait Serializable
class Object
trait Matchable
class Any
Show all
case class AlgoliaRequestException(message: String, cause: Throwable, httpErrorCode: Int) extends AlgoliaRuntimeException

Exception thrown when an error occurs during API requests.

Exception thrown when an error occurs during API requests.

Value parameters

cause

the cause of the exception

message

the detail message

Attributes

Supertypes
trait Product
trait Equals
class RuntimeException
class Exception
class Throwable
trait Serializable
class Object
trait Matchable
class Any
Show all
case class AlgoliaRetryException(exceptions: List[Throwable]) extends AlgoliaRuntimeException

Exception thrown when all hosts are unreachable. When several errors occurred, use the last one as the cause for the returned exception.

Exception thrown when all hosts are unreachable. When several errors occurred, use the last one as the cause for the returned exception.

Value parameters

exceptions

list of thrown exceptions

Attributes

Supertypes
trait Product
trait Equals
class RuntimeException
class Exception
class Throwable
trait Serializable
class Object
trait Matchable
class Any
Show all
sealed abstract class AlgoliaRuntimeException(message: String, cause: Throwable) extends RuntimeException

Algolia runtime exception.

Algolia runtime exception.

Value parameters

cause

the cause of the exception

message

the detail message

Attributes

Supertypes
class RuntimeException
class Exception
class Throwable
trait Serializable
class Object
trait Matchable
class Any
Show all
Known subtypes
case class AlgoliaWaitException(message: String) extends AlgoliaRuntimeException

Exception thrown when an error occurs during the wait strategy. For example: maximum number of retry exceeded.

Exception thrown when an error occurs during the wait strategy. For example: maximum number of retry exceeded.

Value parameters

message

the detail message

Attributes

Supertypes
trait Product
trait Equals
class RuntimeException
class Exception
class Throwable
trait Serializable
class Object
trait Matchable
class Any
Show all