AI-Studio/app/MindWork AI Studio/Assistants/VisualBriefing/VisualBriefingBuildException.cs
Thorsten Sommer 58cc811a58
Some checks failed
Build and Release / Determine run mode (push) Has been cancelled
Build and Release / Read metadata (push) Has been cancelled
Build and Release / Sync Flatpak repo (push) Has been cancelled
Build and Release / Collect Flatpak artifacts (push) Has been cancelled
Build and Release / Build app (${{ matrix.dotnet_runtime }}) (-aarch64-apple-darwin, osx-arm64, macos-latest, aarch64-apple-darwin, dmg,app,updater, dmg) (push) Has been cancelled
Build and Release / Build app (${{ matrix.dotnet_runtime }}) (-aarch64-pc-windows-msvc.exe, win-arm64, windows-latest, aarch64-pc-windows-msvc, nsis,updater, nsis) (push) Has been cancelled
Build and Release / Build app (${{ matrix.dotnet_runtime }}) (-aarch64-unknown-linux-gnu, linux-arm64, ubuntu-22.04-arm, aarch64-unknown-linux-gnu, appimage,updater, appimage) (push) Has been cancelled
Build and Release / Build app (${{ matrix.dotnet_runtime }}) (-x86_64-apple-darwin, osx-x64, macos-latest, x86_64-apple-darwin, dmg,app,updater, dmg) (push) Has been cancelled
Build and Release / Build app (${{ matrix.dotnet_runtime }}) (-x86_64-pc-windows-msvc.exe, win-x64, windows-latest, x86_64-pc-windows-msvc, nsis,updater, nsis) (push) Has been cancelled
Build and Release / Build app (${{ matrix.dotnet_runtime }}) (-x86_64-unknown-linux-gnu, linux-x64, ubuntu-22.04, x86_64-unknown-linux-gnu, appimage,updater, appimage) (push) Has been cancelled
Build and Release / Prepare & create release (push) Has been cancelled
Build and Release / Publish release (push) Has been cancelled
Added the visual briefing assistant (#893)
2026-08-02 21:41:12 +02:00

36 lines
1.2 KiB
C#

namespace AIStudio.Assistants.VisualBriefing;
/// <summary>
/// Represents an expected visual briefing pipeline failure with safe diagnostics.
/// </summary>
internal sealed class VisualBriefingBuildException : Exception
{
/// <summary>
/// Initializes an expected pipeline exception.
/// </summary>
/// <param name="code">The stable failure code.</param>
/// <param name="stage">The failing stage.</param>
/// <param name="userMessage">The user-safe message.</param>
/// <param name="technicalDetails">Safe technical details.</param>
internal VisualBriefingBuildException(VisualBriefingFailureCode code, VisualBriefingBuildStage stage, string userMessage, string technicalDetails) : base(userMessage)
{
this.Code = code;
this.Stage = stage;
this.TechnicalDetails = technicalDetails;
}
/// <summary>
/// Gets the stable failure code.
/// </summary>
internal VisualBriefingFailureCode Code { get; }
/// <summary>
/// Gets the failing stage.
/// </summary>
internal VisualBriefingBuildStage Stage { get; }
/// <summary>
/// Gets technical details that exclude user content.
/// </summary>
internal string TechnicalDetails { get; }
}