Class BlueskyError
- Namespace
- idunno.Bluesky
- Assembly
- idunno.Bluesky.dll
Base class for all Bluesky errors.
public abstract class BlueskyError : AtErrorDetailInheritance
-
AtErrorDetail
Derived
Inherited Members
-
AtErrorDetail.ErrorAtErrorDetail.MessageAtErrorDetail.ExtensionDataAtErrorDetail.InstanceAtErrorDetail.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
otherAtErrorDetail-
The idunno.AtProto.AtErrorDetail instance to copy.
Exceptions
- ArgumentNullException
-
Thrown when
otheris null.
BlueskyError(AtErrorDetail)
Creates a new instance of the idunno.Bluesky.BlueskyError from an instance of idunno.AtProto.AtErrorDetail.
protected BlueskyError(AtErrorDetail other)Parameters
otherAtErrorDetail-
The idunno.AtProto.AtErrorDetail instance to copy.
Exceptions
- ArgumentNullException
-
Thrown when
otheris null.
BlueskyError(AtErrorDetail)
Creates a new instance of the idunno.Bluesky.BlueskyError from an instance of idunno.AtProto.AtErrorDetail.
protected BlueskyError(AtErrorDetail other)Parameters
otherAtErrorDetail-
The idunno.AtProto.AtErrorDetail instance to copy.
Exceptions
- ArgumentNullException
-
Thrown when
otheris null.
Methods
Map(AtErrorDetail?)
Maps the idunno.AtProto.AtErrorDetail to a idunno.Bluesky.BlueskyError, if possible.
public static AtErrorDetail? Map(AtErrorDetail? atErrorDetail)Parameters
atErrorDetailAtErrorDetail?-
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
atErrorDetailAtErrorDetail?-
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
atErrorDetailAtErrorDetail?-
The idunno.AtProto.AtErrorDetail instance to map.
Returns
- AtErrorDetail?
-
A idunno.Bluesky.BlueskyError instance if mapping is possible; otherwise, null.