API ReferenceSandbox.Services

DatabaseExceptionclass

A rejected database operation. Network and JSON errors propagate separately.

object→Exception→DatabaseException
Namespace
Sandbox.Services
Assembly
Sandbox.Engine
Declaration
public sealed class Sandbox.Services.DatabaseException : System.Exception

Properties2

Showing 2 properties

public System.Nullable`1<System.TimeSpan> Sandbox.Services.DatabaseException.RetryAfter { get; set; }PUBLICGETSET

How long to wait before retrying, or null when the server did not specify a delay.

Returns:Nullable<TimeSpan>—

public int Sandbox.Services.DatabaseException.StatusCode { get; set; }PUBLICGETSET

HTTP status, e.g. 401 unauthenticated, 403 forbidden, 404 missing, 409 conflict, 413 too large or 428 missing revision.

Returns:int—

On this page