@umbraco-cms/backoffice
    Preparing search index...

    Arguments for displaying an error peek notification. UmbPeekErrorArgs

    interface UmbPeekErrorArgs {
        color?: UmbNotificationColor;
        detail?: string;
        details?: Record<string, string[]>;
        errors?: Record<string, string[]>;
        headline?: string;
        htmlMessage?: string | TemplateResult;
        message: string;
        structuredList?: Record<string, unknown[]>;
        whitespace?: "pre" | "normal" | "pre-line" | "pre-wrap" | "nowrap";
    }

    Hierarchy (View Summary)

    Index

    Properties

    The notification color. Defaults to 'danger'.

    detail?: string

    A human-readable explanation of the error (from ProblemDetails.detail).

    details?: Record<string, string[]>

    Validation errors keyed by field name (from ProblemDetails.errors).

    Use errors instead. Scheduled for removal in Umbraco 19.

    errors?: Record<string, string[]>

    Validation errors keyed by field name (from ProblemDetails.errors).

    headline?: string
    htmlMessage?: string | TemplateResult

    A message rendered as HTML. Takes precedence over message when set.

    A string value is sanitized before rendering, so scripts and event handlers are stripped. A TemplateResult is rendered as-is — Lit escapes its bindings, so it is safe by construction unless you explicitly opt out with unsafeHTML.

    Do not interpolate user-controlled content into an HTML string: sanitization prevents script execution but not markup injection (e.g. links or images).

    message: string

    The notification message, rendered as plain text. Use UmbNotificationDefaultData.htmlMessage to render HTML.

    structuredList?: Record<string, unknown[]>

    Use UmbPeekErrorArgs instead. Scheduled for removal in Umbraco 19.

    whitespace?: "pre" | "normal" | "pre-line" | "pre-wrap" | "nowrap"