// Copyright (c) Microsoft Corporation. All rights reserved. See License.txt in the project root for license information. namespace System.Web.Http { /// /// Enum to indicate whether error details, such as exception messages and stack traces, should be included in error messages. /// public enum IncludeErrorDetailPolicy { /// /// Only include error details when responding to a local request. /// LocalOnly = 0, /// /// Always include error details. /// Always, /// /// Never include error details. /// Never } }