IsServerErrorStatusCode Method
Definition
- Namespace
- Cuemon.Extensions.AspNetCore.Http
- Assemblies
- Cuemon.Extensions.AspNetCore.dll
IsServerErrorStatusCode(int)
Determines whether the specified statusCode is within the server error related range.
public static bool IsServerErrorStatusCode(this int statusCode)
Parameters
Returns
- bool
trueifstatusCodewas in the Server Error range (500-599); otherwise,false.