Search Results for

    Show / Hide Table of Contents

    Class ExceptionResponse<TException>

    Defines a response to a an exception being thrown.

    Inheritance
    System.Object
    ExceptionResponse<TException>
    Namespace: MADE.Web.Exceptions
    Assembly: MADE.Web.dll
    Syntax
    public class ExceptionResponse<TException> : object where TException : Exception
    Type Parameters
    Name Description
    TException

    The type of exception thrown.

    Constructors

    | Improve this Doc View Source

    ExceptionResponse(String, String, TException)

    Initializes a new instance of the ExceptionResponse<TException> class with an error code and message.

    Declaration
    public ExceptionResponse(string errorCode, string errorMessage, TException exception)
    Parameters
    Type Name Description
    System.String errorCode

    The error code.

    System.String errorMessage

    The error message.

    TException exception

    The exception thrown.

    Properties

    | Improve this Doc View Source

    ErrorCode

    Gets the error code.

    Declaration
    public string ErrorCode { get; }
    Property Value
    Type Description
    System.String
    | Improve this Doc View Source

    ErrorMessage

    Gets the error message.

    Declaration
    public string ErrorMessage { get; }
    Property Value
    Type Description
    System.String
    | Improve this Doc View Source

    Exception

    Gets the exception thrown.

    Declaration
    public TException Exception { get; }
    Property Value
    Type Description
    TException

    Extension Methods

    ReflectionExtensions.GetPropertyValue<T>(Object, String)
    ReflectionExtensions.GetPropertyNames(Object)
    • Improve this Doc
    • View Source
    In This Article
    Back to top Copyright (c) MADE Apps