<?php


namespace App\Exceptions;


abstract class ServerStatus{

    const  SUCCESS                       =    200;   // request success
    const  NOT_FOUND                     =    404;   // page/resource not found
    const  AUTH_REQUIRED                 =    401;   // authentification required
    const  PERMISSION_DENIED             =    403;   // permissions denied
    const  CSFR_TOKEN_MISMATCH           =    419;   // CSFR token mismatch
    const  UNPROCESSABLE_ENTITY          =    422;   // Unprocessable Entity
    const  SESSION_FBO_OR_PAYS_NOT_SET   =    300;   // commande - sessions vars(fbo or pays) not set
    const  CART_IS_EMPTY                 =    301;   // commande - cart is empty
    const  MINIMUM_ACHAT_NOT_ATTEMPS     =    302;   // commande - minimum_achat not attemps
    const  LEVEL_CANNOT_ORDER_PRODUCT    =    303;   // commande - level connot order product
    const  SYSTEM_IS_CLOSED              =    306;   // commande - system is closed
    const  APPLICATION_ERROR             =    500;   // application Error exception
    const  APPLICATION_IN_MAINTENANCE    =    501;   // application in maintenance mode

}
