- Notifications
You must be signed in to change notification settings - Fork 21
/
Copy pathdo_errors.h
31 lines (25 loc) · 1.22 KB
/
do_errors.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
#ifndef _DELIVERY_OPTIMIZATION_DO_ERRORS_H
#define_DELIVERY_OPTIMIZATION_DO_ERRORS_H
#include<cstdint>
#include<system_error>
namespacemicrosoft
{
namespacedeliveryoptimization
{
namespaceerrc
{
constexprauto not_impl = static_cast<int32_t>(0x80004001); // E_NOTIMPL
constexprauto unexpected = static_cast<int32_t>(0x8000FFFF); // E_UNEXPECTED
constexprauto invalid_arg = static_cast<int32_t>(0x80070057); // E_INVALIDARG
constexprauto not_found = static_cast<int32_t>(0x80070490); // E_NOT_SET (ERROR_NOT_FOUND)
constexprauto no_service = static_cast<int32_t>(0x80D01001); // DO_E_NO_SERVICE
constexprauto download_no_progress = static_cast<int32_t>(0x80D02002); // DO_E_DOWNLOAD_NO_PROGRESS
constexprauto no_downloads = static_cast<int32_t>(0x80D02005); // DO_E_NO_DOWNLOADS
constexprauto unknown_property_id = static_cast<int32_t>(0x80D02011); // DO_E_UNKNOWN_PROPERTY_ID
constexprauto invalid_state = static_cast<int32_t>(0x80D02013); // DO_E_INVALID_STATE
} //namespace errc
} //namespace deliveryoptimization
} //namespace microsoft
#endif//_DELIVERY_OPTIMIZATION_DO_ERRORS_H