Class UnauthorizedException
A class representing exceptions thrown due to authorization failure.
Implements
Inherited Members
Namespace: WhenFresh.Api.Client.Http
Assembly: WhenFresh.Api.Client.dll
Syntax
public class UnauthorizedException : HttpException, ISerializable
Constructors
UnauthorizedException(HttpResponseMessage)
Initializes a new instance of the UnauthorizedException class with a specific message that describes the current exception.
Declaration
public UnauthorizedException(HttpResponseMessage response)
Parameters
Type | Name | Description |
---|---|---|
HttpResponseMessage | response | The HttpResponseMessage at the time of the current exception. |