Table of Contents

Class RegoCompilationException

Namespace
OpaDotNet.Compilation.Abstractions
Assembly
OpaDotNet.Compilation.Abstractions.dll

The exception that is thrown when OPA policy compilation fails.

public class RegoCompilationException : Exception, ISerializable
Inheritance
RegoCompilationException
Implements
Inherited Members

Constructors

RegoCompilationException(string?)

Initializes a new instance of the RegoCompilationException.

public RegoCompilationException(string? message)

Parameters

message string

The message that describes the error.

RegoCompilationException(string, string?)

Initializes a new instance of the RegoCompilationException.

public RegoCompilationException(string sourceFile, string? message)

Parameters

sourceFile string

Source file that caused the current exception.

message string

The message that describes the error.

RegoCompilationException(string, string?, Exception?)

Initializes a new instance of the RegoCompilationException.

public RegoCompilationException(string sourceFile, string? message, Exception? innerException)

Parameters

sourceFile string

Source file that caused the current exception.

message string

The message that describes the error.

innerException Exception

The exception that is the cause of the current exception.

Properties

SourceFile

Source file that caused the current exception.

public string? SourceFile { get; }

Property Value

string