Show / Hide Table of Contents

Class Error

Error

Inheritance
object
Error
Implements
IValidatableObject
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
Namespace: Pulumi.Esc.Sdk.Model
Assembly: Pulumi.Esc.Sdk.dll
Syntax
public class Error : IValidatableObject

Constructors

View Source

Error(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 Source

Code

Gets or Sets Code

Declaration
[JsonPropertyName("code")]
public int Code { get; set; }
Property Value
Type Description
int
View Source

Message

Gets or Sets Message

Declaration
[JsonPropertyName("message")]
public string Message { get; set; }
Property Value
Type Description
string

Methods

View Source

ToString()

Returns the string presentation of the object

Declaration
public override string ToString()
Returns
Type Description
string

String presentation of the object

Overrides
object.ToString()

Implements

IValidatableObject

Version 0.13.1

  • View Source
Back to top Copyright 2016-2023, Pulumi Corporation.