Class NotFound

Synopsis

#include <lib/inc/drogon/NotFound.h>

class DROGON_EXPORT NotFound final : public drogon::DrTemplate<NotFound>

Description

This class is used by the drogon to generate the 404 page. Users don't use this class directly.

Inheritance

Ancestors: DrTemplate

Methods

NotFound
genTextGenerate the text string.

Source

Lines 26-33 in lib/inc/drogon/NotFound.h.

class DROGON_EXPORT NotFound final : public drogon::DrTemplate<NotFound>
{
  public:
    NotFound()
    {
    }
    virtual std::string genText(const drogon::HttpViewData &) override;
};





Add Discussion as Guest

Log in