Skip to content
Documentation

CsxFileCompilationFailedException Class

This exception is thrown when a csx file fails to compile.

public sealed class CsxFileCompilationFailedException : HAKOM.ErrorHandling.Core.Net.Api.HakomException

Inheritance System.Object 🡒 System.Exception 🡒 HakomException 🡒 CsxFileCompilationFailedException

Compilation errors are available in the Diagnostics property. Review the diagnostics to identify and fix the errors in the .csx file.

This exception is identified by error code HK15075.

CsxFileCompilationFailedException.Diagnostics Property

Section titled “CsxFileCompilationFailedException.Diagnostics Property”

Contains the diagnostics of the failed copmilation process.

public System.Collections.Immutable.ImmutableArray<Microsoft.CodeAnalysis.Diagnostic> Diagnostics { get; }

System.Collections.Immutable.ImmutableArray<Microsoft.CodeAnalysis.Diagnostic>

CsxFileCompilationFailedException.EquivalentHttpStatusCode Property

Section titled “CsxFileCompilationFailedException.EquivalentHttpStatusCode Property”

When unhandled within an HTTP request, this exception produces HTTP 500 (Internal Server Error).

protected override System.Net.HttpStatusCode EquivalentHttpStatusCode { protected get; }

System.Net.HttpStatusCode

CsxFileCompilationFailedException.FileName Property

Section titled “CsxFileCompilationFailedException.FileName Property”

The name of the file which caused this error.

public string FileName { get; }

System.String

© 2026 Volue.Version v0.6.38017 November 2026