/
ErrorEventArgs.cs
38 lines (32 loc) · 1.17 KB
/
ErrorEventArgs.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
namespace Microsoft.AspNetCore.Components.Web
{
/// <summary>
/// Supplies information about an error event that is being raised.
/// </summary>
public class ErrorEventArgs : EventArgs
{
/// <summary>
/// Gets a a human-readable error message describing the problem.
/// </summary>
public string Message { get; set; }
/// <summary>
/// Gets the name of the script file in which the error occurred.
/// </summary>
public string Filename { get; set; }
/// <summary>
/// Gets the line number of the script file on which the error occurred.
/// </summary>
public int Lineno { get; set; }
/// <summary>
/// Gets the column number of the script file on which the error occurred.
/// </summary>
public int Colno { get; set; }
/// <summary>
/// Gets or sets the type of the event.
/// </summary>
public string Type { get; set; }
}
}