internal YandexApiException(HttpStatusCode statusCode, string reasonPhrase, ErrorDescription error) : base(error?.Description ?? reasonPhrase) { Error = error; StatusCode = statusCode; ReasonPhrase = reasonPhrase; }
internal NotAuthorizedException(string reasonPhrase, ErrorDescription error) : base(HttpStatusCode.Unauthorized, reasonPhrase, error) { }