Show / Hide Table of Contents

Class ApiException

API Exception

Inheritance
object
Exception
ApiException
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.Client
Assembly: Pulumi.Esc.Sdk.dll
Syntax
public class ApiException : Exception, ISerializable

Constructors

View Source

ApiException(string?, HttpStatusCode, string)

Construct the ApiException from parts of the response

Declaration
public ApiException(string? reasonPhrase, HttpStatusCode statusCode, string rawContent)
Parameters
Type Name Description
string reasonPhrase
HttpStatusCode statusCode
string rawContent

Properties

View Source

RawContent

The raw data returned by the api

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

ReasonPhrase

The reason the api request failed

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

StatusCode

The HttpStatusCode

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.