public ConfigHeaderCheckFailed( ConfigFetcher.UrlWithContext url, string headerName, string expectedValue, Option <string> actual ) : base( url, $"Expected header '{headerName}' to be '{expectedValue}', but it was {actual}" ) { }
protected ConfigFetchError(ConfigFetcher.UrlWithContext url, string message) { this.message = message; this.url = url; }
public ConfigWrongContentType(ConfigFetcher.UrlWithContext url, string expected, string actual) : base(url, "Content-Type", expected, actual.some()) { }
public ConfigWWWError(ConfigFetcher.UrlWithContext url, WWWWithHeaders wwwWithHeaders) : base(url, $"WWW error: {wwwWithHeaders.www.error}") { this.wwwWithHeaders = wwwWithHeaders; }
public ConfigTimeoutError(ConfigFetcher.UrlWithContext url, Duration timeout) : base(url, $"Timed out: {timeout}") { this.timeout = timeout; }