Table of Contents

Class ManagementApiException

Namespace
Auth0.ManagementApi
Assembly
Auth0.ManagementApi.dll

This exception type will be thrown for any non-2XX API responses.

public class ManagementApiException : ManagementException, ISerializable, _Exception
Inheritance
ManagementApiException
Implements
Derived
Inherited Members
Extension Methods

Constructors

ManagementApiException(string, int, object, Exception?)

This exception type will be thrown for any non-2XX API responses.

public ManagementApiException(string message, int statusCode, object body, Exception? innerException = null)

Parameters

message string
statusCode int
body object
innerException Exception

Properties

Body

The body of the response that triggered the exception.

public object Body { get; }

Property Value

object

StatusCode

The error code of the response that triggered the exception.

public int StatusCode { get; }

Property Value

int

Methods

ToString()

Creates and returns a string representation of the current exception.

public override string ToString()

Returns

string

A string representation of the current exception.