Class AchievementStoreException
Thrown by a remote IAchievementStore 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.Achievements.Application.Exceptions
Assembly: Serenity.Achievements.Application.dll
Syntax
public class AchievementStoreException : 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 IAchievementStore implementation is installed. Derives from PersistenceStoreException so callers that only know about the generic structured-persistence contract can still catch achievement-specific failures. Local, on-device backends never throw this — see the local structured store's never-throw reliability contract.
Constructors
AchievementStoreException(string)
Creates a new AchievementStoreException with the specified message.
Declaration
public AchievementStoreException(string message)
Parameters
| Type | Name | Description |
|---|---|---|
| string | message | A message describing the failed call. |
AchievementStoreException(string, Exception)
Creates a new AchievementStoreException with the specified message and inner exception.
Declaration
public AchievementStoreException(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. |