forked from chakra-core/ChakraCore
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathrterror.h
More file actions
20 lines (18 loc) · 802 Bytes
/
rterror.h
File metadata and controls
20 lines (18 loc) · 802 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
//-------------------------------------------------------------------------------------------------------
// Copyright (C) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE.txt file in the project root for full license information.
//-------------------------------------------------------------------------------------------------------
#pragma once
//
// Defines trappable runtime error handling.
//
#include "rterrors_limits.h"
enum rtErrors
{
#define RT_ERROR_MSG(name, errnum, str1, str2, jst, errorNumSource) name = MAKE_HR(errnum),
#define RT_PUBLICERROR_MSG(name, errnum, str1, str2, jst, errorNumSource) name = MAKE_HRESULT(SEVERITY_ERROR, FACILITY_JSCRIPT, errnum),
#include "rterrors.h"
#undef RT_PUBLICERROR_MSG
#undef RT_ERROR_MSG
MWUNUSED_rtError
};