internal ApiParseException(ApiError error) : base(error) { }
internal ApiInvalidParametersException(ApiError error) : base(error) { }
internal ApiUnknownException(ApiError error) : base(error) { }
internal ApiMethodNotFoundException(ApiError error) : base(error) { }
internal ApiInvalidRequestException(ApiError error) : base(error) { }
protected ApiException(ApiError error) : this(error.Code, error.Message, error.Data) { // }
internal ApiCustomException(ApiError error) : base(error) { }
/// <param name="id">Request id</param> /// <param name="error">Request error</param> public ApiResponse(ApiError error) { this.Error = error; }