using System;
using Microsoft.Extensions.Logging;
using AyaNova.Models;
using System.Linq;
using System.Collections.Generic;


namespace AyaNova.Api.ControllerHelpers
{


    public enum ApiErrorCode : int
    {
        /*
            DON'T FORGET TO UPDATE THE API-ERROR-CODES.MD DOCUMENTATION 
            AND UPDATE THE ApiErrorCodeStockMessage.cs        
         */

        API_CLOSED = 2000,
        API_OPS_ONLY = 2001,
        API_SERVER_ERROR = 2002,
        AUTHENTICATION_FAILED = 2003,
        NOT_AUTHORIZED = 2004,
        CONCURRENCY_CONFLICT=2005,
        NOT_FOUND = 2010,
        PUT_ID_MISMATCH = 2020,
        INVALID_OPERATION = 2030,
        VALIDATION_FAILED = 2200,
        VALIDATION_REQUIRED = 2201,
        VALIDATION_LENGTH_EXCEEDED = 2202,
        VALIDATION_INVALID_VALUE = 2203


    }


}//eons