Exemple #1
0
 public static SendNotificationError ThrottleLimitExceeded(SendNotificationResponseDebugHeaders responseDebugHeaders) => new SendNotificationError(Values.ThrottleLimitExceeded)
 {
     ResponseDebugHeaders = responseDebugHeaders
 };
Exemple #2
0
 public static SendNotificationError PayloadTooLarge(SendNotificationResponseDebugHeaders responseDebugHeaders) => new SendNotificationError(Values.PayloadTooLarge)
 {
     ResponseDebugHeaders = responseDebugHeaders
 };
Exemple #3
0
 public static SendNotificationError ServiceUnavailable(SendNotificationResponseDebugHeaders responseDebugHeaders) => new SendNotificationError(Values.ServiceUnavailable)
 {
     ResponseDebugHeaders = responseDebugHeaders
 };
Exemple #4
0
 public static SendNotificationError InternalServerError(SendNotificationResponseDebugHeaders responseDebugHeaders) => new SendNotificationError(Values.InternalServerError)
 {
     ResponseDebugHeaders = responseDebugHeaders
 };
Exemple #5
0
 // NOTE: due to the nature of WNS's response debug headers, we still return these with an HttpError _just in case_ they are populated
 public static SendNotificationError HttpError(HttpStatusCode httpStatusCode, SendNotificationResponseDebugHeaders responseDebugHeaders) => new SendNotificationError(Values.HttpError)
 {
     HttpStatusCode = httpStatusCode, ResponseDebugHeaders = responseDebugHeaders
 };
Exemple #6
0
 public static SendNotificationError CodeHasBug(SendNotificationResponseDebugHeaders responseDebugHeaders) => new SendNotificationError(Values.CodeHasBug)
 {
     ResponseDebugHeaders = responseDebugHeaders
 };
Exemple #7
0
 public static SendNotificationError ChannelNotFound(SendNotificationResponseDebugHeaders responseDebugHeaders) => new SendNotificationError(Values.ChannelNotFound)
 {
     ResponseDebugHeaders = responseDebugHeaders
 };
Exemple #8
0
 public static SendNotificationError AccessTokenIsMismatched(SendNotificationResponseDebugHeaders responseDebugHeaders) => new SendNotificationError(Values.AccessTokenIsMismatched)
 {
     ResponseDebugHeaders = responseDebugHeaders
 };