Table of Contents

Class BlueskyError

Namespace
idunno.Bluesky
Assembly
idunno.Bluesky.dll

Base class for all Bluesky errors.

public abstract class BlueskyError : AtErrorDetail

Inheritance

AtErrorDetail

Derived

Inherited Members

AtErrorDetail.Error
AtErrorDetail.Message
AtErrorDetail.ExtensionData
AtErrorDetail.Instance
AtErrorDetail.HttpMethod

Constructors

BlueskyError(AtErrorDetail)

Creates a new instance of the idunno.Bluesky.BlueskyError from an instance of idunno.AtProto.AtErrorDetail.

protected BlueskyError(AtErrorDetail other)

Parameters

other AtErrorDetail

The idunno.AtProto.AtErrorDetail instance to copy.

Exceptions

ArgumentNullException

Thrown when other is null.

BlueskyError(AtErrorDetail)

Creates a new instance of the idunno.Bluesky.BlueskyError from an instance of idunno.AtProto.AtErrorDetail.

protected BlueskyError(AtErrorDetail other)

Parameters

other AtErrorDetail

The idunno.AtProto.AtErrorDetail instance to copy.

Exceptions

ArgumentNullException

Thrown when other is null.

BlueskyError(AtErrorDetail)

Creates a new instance of the idunno.Bluesky.BlueskyError from an instance of idunno.AtProto.AtErrorDetail.

protected BlueskyError(AtErrorDetail other)

Parameters

other AtErrorDetail

The idunno.AtProto.AtErrorDetail instance to copy.

Exceptions

ArgumentNullException

Thrown when other is null.

Methods

Map(AtErrorDetail?)

Maps the idunno.AtProto.AtErrorDetail to a idunno.Bluesky.BlueskyError, if possible.

public static AtErrorDetail? Map(AtErrorDetail? atErrorDetail)

Parameters

atErrorDetail AtErrorDetail?

The idunno.AtProto.AtErrorDetail instance to map.

Returns

AtErrorDetail?

A idunno.Bluesky.BlueskyError instance if mapping is possible; otherwise, null.

Map(AtErrorDetail?)

Maps the idunno.AtProto.AtErrorDetail to a idunno.Bluesky.BlueskyError, if possible.

public static AtErrorDetail? Map(AtErrorDetail? atErrorDetail)

Parameters

atErrorDetail AtErrorDetail?

The idunno.AtProto.AtErrorDetail instance to map.

Returns

AtErrorDetail?

A idunno.Bluesky.BlueskyError instance if mapping is possible; otherwise, null.

Map(AtErrorDetail?)

Maps the idunno.AtProto.AtErrorDetail to a idunno.Bluesky.BlueskyError, if possible.

public static AtErrorDetail? Map(AtErrorDetail? atErrorDetail)

Parameters

atErrorDetail AtErrorDetail?

The idunno.AtProto.AtErrorDetail instance to map.

Returns

AtErrorDetail?

A idunno.Bluesky.BlueskyError instance if mapping is possible; otherwise, null.