Skip to content
ChartForgeX

API Reference

Class

MermaidResourceLimitException

Namespace ChartForgeX.Mermaid
Assembly ChartForgeX.Mermaid
Base InvalidOperationException
Implements
ISerializable
Modifiers sealed

Reports a located resource bound exceeded during parsing or deferred artifact export.

Inheritance

  • InvalidOperationException
  • MermaidResourceLimitException

Constructors

public MermaidResourceLimitException(String limitName, Int64 limit, Int64 actual, MermaidSourceSpan span) #

Initializes a resource failure with the configured bound and observed requirement.

Parameters

limitName System.String requiredposition: 0
limit System.Int64 requiredposition: 1
actual System.Int64 requiredposition: 2
span ChartForgeX.Mermaid.MermaidSourceSpan requiredposition: 3

Properties

public String LimitName { get; } #

Gets the resource setting whose bound was exceeded.

public Int64 Limit { get; } #

Gets the captured configured bound.

public Int64 Actual { get; } #

Gets the observed count or required allocation.

public MermaidSourceSpan Span { get; } #

Gets the source statement or first character that exceeds the bound.