ArmSelfHelpModelFactory.SelfHelpError Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of SelfHelpError.
public static Azure.ResourceManager.SelfHelp.Models.SelfHelpError SelfHelpError (string code = default, string errorType = default, string message = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.SelfHelp.Models.SelfHelpError> details = default);
static member SelfHelpError : string * string * string * seq<Azure.ResourceManager.SelfHelp.Models.SelfHelpError> -> Azure.ResourceManager.SelfHelp.Models.SelfHelpError
Public Shared Function SelfHelpError (Optional code As String = Nothing, Optional errorType As String = Nothing, Optional message As String = Nothing, Optional details As IEnumerable(Of SelfHelpError) = Nothing) As SelfHelpError
Parameters
- code
- String
Service specific error code which serves as the substatus for the HTTP error code.
- errorType
- String
Service specific error type which serves as additional context for the error herein.
- message
- String
Description of the error.
- details
- IEnumerable<SelfHelpError>
An array of additional nested error response info objects, as described by this contract.
Returns
A new SelfHelpError instance for mocking.