Docs · API reference · Motus.Abstractions

PageErrorEventArgs Class#

Event arguments for uncaught exceptions in the page.

public sealed record PageErrorEventArgs : System.IEquatable<Motus.Abstractions.PageErrorEventArgs>

Inheritance System.Object → PageErrorEventArgs

Implements System.IEquatable<PageErrorEventArgs>

Constructors#

PageErrorEventArgs(string, string) Constructor#

Event arguments for uncaught exceptions in the page.

public PageErrorEventArgs(string Message, string? Stack=null);

Parameters#

Message System.String

The error message.

Stack System.String

The error stack trace, if available.

Properties#

Message Property#

The error message.

public string Message { get; init; }

Property Value#

System.String

Stack Property#

The error stack trace, if available.

public string? Stack { get; init; }

Property Value#

System.String