Search Results for

    Show / Hide Table of Contents

    Method CriticalError

    | Improve this Doc View Source

    CriticalError()

    Represents a situation where a service detects unexpected behavior (critical error) and does not know how to handle it.

    Declaration
    public static Result CriticalError()
    Returns
    Type Description
    Result
    Remarks

    Everything provided by the user was valid, but the service was unable to complete due to an exception.

    | Improve this Doc View Source

    CriticalError(String)

    Represents a situation where a service detects unexpected behavior (critical error) and does not know how to handle it.

    Declaration
    public static Result CriticalError(string message)
    Parameters
    Type Name Description
    String message

    An error message.

    Returns
    Type Description
    Result
    Remarks

    Everything provided by the user was valid, but the service was unable to complete due to an exception.

    | Improve this Doc View Source

    CriticalError(IEnumerable<String>)

    Represents a situation where a service detects unexpected behavior (critical error) and does not know how to handle it.

    Declaration
    public static Result CriticalError(IEnumerable<string> errors)
    Parameters
    Type Name Description
    IEnumerable<String> errors

    A collection of string that contains error messages.

    Returns
    Type Description
    Result
    Remarks

    Everything provided by the user was valid, but the service was unable to complete due to an exception.

    | Improve this Doc View Source

    CriticalError(String, IEnumerable<String>)

    Represents a situation where a service detects unexpected behavior (critical error) and does not know how to handle it.

    Declaration
    public static Result CriticalError(string message, IEnumerable<string> errors)
    Parameters
    Type Name Description
    String message

    A general description of the error.

    IEnumerable<String> errors

    A collection of errors.

    Returns
    Type Description
    Result
    Remarks

    Everything provided by the user was valid, but the service was unable to complete due to an exception.

    • Improve this Doc
    • View Source
    In This Article
    Back to top Copyright ©2023 SimpleResults