Method Failure
| Improve this Doc View SourceFailure()
Represents an error that occurred during the execution of a service.
Declaration
public static Result Failure()
Returns
Type | Description |
---|---|
Result |
Failure(String)
Represents an error that occurred during the execution of a service.
Declaration
public static Result Failure(string message)
Parameters
Type | Name | Description |
---|---|---|
String | message | An error message. |
Returns
Type | Description |
---|---|
Result |
Failure(IEnumerable<String>)
Represents an error that occurred during the execution of a service.
Declaration
public static Result Failure(IEnumerable<string> errors)
Parameters
Type | Name | Description |
---|---|---|
IEnumerable<String> | errors | A collection of string that contains error messages. |
Returns
Type | Description |
---|---|
Result |
Failure(String, IEnumerable<String>)
Represents an error that occurred during the execution of a service.
Declaration
public static Result Failure(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 |