summaryrefslogtreecommitdiff
path: root/src/SMAPI.Web/Framework/Clients/Nexus/NexusMod.cs
diff options
context:
space:
mode:
authorJesse Plamondon-Willard <github@jplamondonw.com>2018-03-04 17:32:29 -0500
committerJesse Plamondon-Willard <github@jplamondonw.com>2018-03-04 17:32:29 -0500
commitcea113eb2908105c5b5d5ed86a8221e95ea92fb4 (patch)
tree07472e3c668884bfcd6a8790bbd2b0794d17c54e /src/SMAPI.Web/Framework/Clients/Nexus/NexusMod.cs
parentbe4416644ad014bc6dfcbcac04dbd7403280a905 (diff)
downloadSMAPI-cea113eb2908105c5b5d5ed86a8221e95ea92fb4.tar.gz
SMAPI-cea113eb2908105c5b5d5ed86a8221e95ea92fb4.tar.bz2
SMAPI-cea113eb2908105c5b5d5ed86a8221e95ea92fb4.zip
fetch mod info from Nexus website until we can use their API again (#454)
Diffstat (limited to 'src/SMAPI.Web/Framework/Clients/Nexus/NexusMod.cs')
-rw-r--r--src/SMAPI.Web/Framework/Clients/Nexus/NexusMod.cs4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/SMAPI.Web/Framework/Clients/Nexus/NexusMod.cs b/src/SMAPI.Web/Framework/Clients/Nexus/NexusMod.cs
index 2b04104f..cd52c72b 100644
--- a/src/SMAPI.Web/Framework/Clients/Nexus/NexusMod.cs
+++ b/src/SMAPI.Web/Framework/Clients/Nexus/NexusMod.cs
@@ -17,5 +17,9 @@ namespace StardewModdingAPI.Web.Framework.Clients.Nexus
/// <summary>The mod's web URL.</summary>
[JsonProperty("mod_page_uri")]
public string Url { get; set; }
+
+ /// <summary>A user-friendly error which indicates why fetching the mod info failed (if applicable).</summary>
+ [JsonIgnore]
+ public string Error { get; set; }
}
}