Table of Contents

Class JsonApiException

Namespace
Crews.PlanningCenter.Api.Models
Assembly
Crews.PlanningCenter.Api.dll

Represents an error response from the Planning Center API.

public class JsonApiException : HttpRequestException, ISerializable
Inheritance
JsonApiException
Implements
Inherited Members

Constructors

JsonApiException(string, HttpRequestException?)

Initializes a new instance of the JsonApiException class.

public JsonApiException(string responseContent, HttpRequestException? inner)

Parameters

responseContent string

The response body content from the API.

inner HttpRequestException

The inner HttpRequestException instance.

Properties

Errors

The colleciton of errors from the API response body.

public ImmutableArray<JsonApiError> Errors { get; init; }

Property Value

ImmutableArray<JsonApiError>