/// <summary> /// Initializes a new instance of the <see cref="XamarinSpellingException"/> class. /// </summary> /// <param name="code">The code.</param> /// <param name="apiErrorModel">The API error model.</param> public XamarinSpellingException(XamarinSpellingExceptionCode code, ApiErrorModel apiErrorModel) : base(code.ToString()) { this.Code = code; this.ApiError = apiErrorModel; }
/// <summary> /// Initializes a new instance of the <see cref="XamarinSpellingException"/> class. /// </summary> /// <param name="code">The code.</param> public XamarinSpellingException(XamarinSpellingExceptionCode code) : base(code.ToString()) { this.Code = code; }