Condividi tramite


Costruttore http_exception::http_exception

Crea una http_exception solo con un messaggio stringa e nessun codice di errore.

http_exception(
   const utility::string_t &whatArg
);

http_exception(
   int errorCode
);

http_exception(
   int errorCode,
   const utility::string_t &whatArg
);

http_exception(
   int errorCode,
   const std::error_category &cat
);

Parametri

  • whatArg
    Messaggio da utilizzare nella stringa what().

  • errorCode
    Valore del codice di errore.

  • cat
    Categoria di errore per il codice.

Requisiti

Intestazione: http_msg.h

Spazio dei nomi: web::http

Vedere anche

Riferimenti

Classe http_exception