Class LeaderboardStoreException
Thrown by a remote ILeaderboardStore backend (e.g. an HTTP-backed store) when a call to the backing service fails: a non-success response, a transport-level failure that survived every retry, or a request timeout.
Namespace: Serenity.Leaderboard.Application.Exceptions
Assembly: Serenity.Leaderboard.Application.dll
Syntax
public class LeaderboardStoreException : PersistenceStoreException
Remarks
This exception belongs to the Application layer (rather than to a specific Infrastructure backend) so callers can catch a single, backend-agnostic type regardless of which remote ILeaderboardStore implementation is installed. Derives from PersistenceStoreException so callers that only know about the generic structured-persistence contract can still catch leaderboard-specific failures. Local, on-device backends never throw this — see the local structured store's never-throw reliability contract.
Constructors
LeaderboardStoreException(string)
Creates a new LeaderboardStoreException with the specified message.
Declaration
public LeaderboardStoreException(string message)
Parameters
| Type | Name | Description |
|---|---|---|
| string | message | A message describing the failed call. |
LeaderboardStoreException(string, Exception)
Creates a new LeaderboardStoreException with the specified message and inner exception.
Declaration
public LeaderboardStoreException(string message, Exception innerException)
Parameters
| Type | Name | Description |
|---|---|---|
| string | message | A message describing the failed call. |
| Exception | innerException | The underlying exception, when the failure originated from one. |