Show / Hide Table of Contents

Class EscApiException

Exception thrown when an ESC API operation fails.

Inheritance
object
Exception
EscApiException
Implements
ISerializable
Inherited Members
Exception.GetBaseException()
Exception.GetObjectData(SerializationInfo, StreamingContext)
Exception.GetType()
Exception.ToString()
Exception.Data
Exception.HelpLink
Exception.HResult
Exception.InnerException
Exception.Message
Exception.Source
Exception.StackTrace
Exception.TargetSite
Exception.SerializeObjectState
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
Namespace: Pulumi.Esc.Sdk
Assembly: Pulumi.Esc.Sdk.dll
Syntax
public class EscApiException : Exception, ISerializable

Constructors

View Source

EscApiException(string)

Initializes a new instance of EscApiException.

Declaration
public EscApiException(string message)
Parameters
Type Name Description
string message
View Source

EscApiException(string, HttpStatusCode, string)

Initializes a new instance of EscApiException with status code details.

Declaration
public EscApiException(string message, HttpStatusCode statusCode, string rawContent)
Parameters
Type Name Description
string message
HttpStatusCode statusCode
string rawContent

Properties

View Source

RawContent

The raw response content, if available.

Declaration
public string? RawContent { get; }
Property Value
Type Description
string
View Source

StatusCode

The HTTP status code of the failed response, if available.

Declaration
public HttpStatusCode? StatusCode { get; }
Property Value
Type Description
HttpStatusCode?

Implements

ISerializable

Version 0.13.1

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