Show / Hide Table of Contents

    Class BaseError

    Represents error that occur during application execution

    Inheritance
    System.Object
    BaseError
    ElementError
    Inherited Members
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.ToString()
    Namespace: Elements
    Assembly: Hypar.Elements.dll
    Syntax
    public class BaseError

    Constructors

    BaseError(Exception)

    Initializes a new instance of BaseError class base on System.Exception info

    Declaration
    public BaseError(Exception exception)
    Parameters
    Type Name Description
    System.Exception exception

    s

    BaseError(String)

    Initializes a new instance of BaseError class

    Declaration
    public BaseError(string message)
    Parameters
    Type Name Description
    System.String message

    The error message

    BaseError(String, String)

    Initializes a new instance of BaseError class

    Declaration
    public BaseError(string message, string stackTrace)
    Parameters
    Type Name Description
    System.String message

    The error message

    System.String stackTrace

    A string representation of the immediate frames on the call stack

    Properties

    Message

    Gets a message that describes the current error

    Declaration
    public string Message { get; }
    Property Value
    Type Description
    System.String

    StackTrace

    Gets a string representation of the immediate frames on the call stack

    Declaration
    public string StackTrace { get; }
    Property Value
    Type Description
    System.String