PermissionDeniedException
Namespace: TypeSafe.AI.Sdk
public class PermissionDeniedException : ApiException, ISerializableHTTP 403: access is denied.
Inheritance: object → Exception → TypeSafeException → ApiException
Implements: ISerializable
Constructors
Section titled “Constructors”PermissionDeniedException(HttpStatusCode, object?, HttpResponseHeaders, string?)
Section titled “PermissionDeniedException(HttpStatusCode, object?, HttpResponseHeaders, string?)”public PermissionDeniedException(HttpStatusCode statusCode, object? body, HttpResponseHeaders headers, string? message = null)Create an API error from a completed HTTP response.
Parameters
| Name | Type | Description |
|---|---|---|
statusCode |
HttpStatusCode | |
body |
object | |
headers |
HttpResponseHeaders | |
message |
string |
MIT · Copyright (c) Dario Kondratiuk. · not affiliated with TypeSafe beyond being a client of the public API