Skip to content

ErrorCode

// RB2 Core Connect
namespace CoreConnect.Commerce.Exceptions;
public static class ErrorCodes
{
public const string BAD_USER_INPUT = "BAD_USER_INPUT";
public const string BAD_REQUEST = "BAD_REQUEST";
public const string UNAUTHENTICATED = "UNAUTHENTICATED";
public const string FORBIDDEN = "FORBIDDEN";
public const string NOT_FOUND = "NOT_FOUND";
public const string INVALID_DATA = "INVALID_DATA";
public const string INTERNAL_SERVER_ERROR = "INTERNAL_SERVER_ERROR";
public const string PASSWORD_UNCHANGED_ERROR = "PASSWORD_UNCHANGED_ERROR";
public const string CONFLICT = "CONFLICT";
public const string NO_STOCK = "NO_STOCK";
}