Class Error
Error
Implements
Inherited Members
Namespace: Pulumi.Esc.Sdk.Model
Assembly: Pulumi.Esc.Sdk.dll
Syntax
public class Error : IValidatableObject
Constructors
View SourceError(int, string)
Initializes a new instance of the Error class.
Declaration
[JsonConstructor]
public Error(int code, string message)
Parameters
| Type | Name | Description |
|---|---|---|
| int | code | code |
| string | message | message |
Properties
View SourceCode
Gets or Sets Code
Declaration
[JsonPropertyName("code")]
public int Code { get; set; }
Property Value
| Type | Description |
|---|---|
| int |
Message
Gets or Sets Message
Declaration
[JsonPropertyName("message")]
public string Message { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Methods
View SourceToString()
Returns the string presentation of the object
Declaration
public override string ToString()
Returns
| Type | Description |
|---|---|
| string | String presentation of the object |