Table of Contents

IsClientErrorStatusCode Method

Definition

Namespace
Cuemon.Extensions.AspNetCore.Http
Assemblies
Cuemon.Extensions.AspNetCore.dll
Source
src/Cuemon.Extensions.AspNetCore/Http/Int32Extensions.cs

IsClientErrorStatusCode(int)

Determines whether the specified statusCode is within the client error related range.

public static bool IsClientErrorStatusCode(this int statusCode)

Parameters

statusCode int

The int to extend.

Returns

bool

true if statusCode was in the Client Error range (400-499); otherwise, false.