public void HandleError(object sender, string message) { PushError?.Invoke(this, message); }
public PushFailure(int userId, PushSubscription sub, PushError error) { UserId = userId; Sub = sub ?? throw new ArgumentNullException(nameof(sub)); Error = error; }