You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
using Fabric_Extension_BE_Boilerplate.Contracts.FabricAPI.Workload;
using Fabric_Extension_BE_Boilerplate.Exceptions;
using Microsoft.AspNetCore.Http;
namespace Boilerplate.Exceptions
{
public class UnauthorizedException : WorkloadExceptionBase
{
public UnauthorizedException()
: base(
httpStatusCode: StatusCodes.Status403Forbidden, // Due to security considerations for real-world applications returning '404 Not Found' or '401 Unauthorized' may be more appropriate