Search Results for

    Show / Hide Table of Contents

    Enum MacroErrorBehaviour

    Namespace: Umbraco.Cms.Core.Macros
    Assembly: Umbraco.Core.dll
    Syntax
    public enum MacroErrorBehaviour

    Fields

    Name Description
    Content

    Silently eat the error and display the custom content reported in the error event args

    Inline

    Default umbraco behavior - show an inline error within the macro but allow the page to continue rendering.

    Silent

    Silently eat the error and do not display the offending macro.

    Throw

    Throw an exception which can be caught by the global error handler defined in Application_OnError. If no such error handler is defined then you'll see the Yellow Screen Of Death (YSOD) error page.

    Extension Methods

    DictionaryExtensions.MergeLeft<MacroErrorBehaviour, TK, TV>(IEnumerable<IDictionary<TK, TV>>, Boolean)
    DictionaryExtensions.MergeLeft<MacroErrorBehaviour, TK, TV>(IDictionary<TK, TV>, Boolean)
    EnumerableExtensions.Yield<MacroErrorBehaviour>()
    EnumExtensions.HasFlagAny<MacroErrorBehaviour>(MacroErrorBehaviour)
    ObjectExtensions.AsEnumerableOfOne<MacroErrorBehaviour>()
    ObjectExtensions.DisposeIfDisposable()
    ObjectExtensions.SafeCast<T>()
    ObjectExtensions.TryConvertTo<T>()
    ObjectExtensions.TryConvertTo(Type)
    ObjectExtensions.ToDictionary<MacroErrorBehaviour, TProperty, TVal>(Expression<Func<MacroErrorBehaviour, TProperty>>[])
    ObjectExtensions.ToDictionary<TVal>(String[])
    ObjectExtensions.ToXmlString(Type)
    ObjectExtensions.ToXmlString<T>()
    ObjectExtensions.AsGuid()
    ExpressionHelper.GetPropertyInfo<MacroErrorBehaviour, TProperty>(Expression<Func<MacroErrorBehaviour, TProperty>>)
    • Improve this Doc
    • View Source
    In This Article
    • Fields
    • Extension Methods
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX