Skip to content

File AssetErrors.hpp

File List > Engine > include > Errors > AssetErrors.hpp

Go to the documentation of this file

#ifndef ENGINE_ERRORS_ASSET_ERRORS_HPP_
#define ENGINE_ERRORS_ASSET_ERRORS_HPP_

#include "Errors/AError.hpp"
#include <string>

namespace Engine {

class ErrorAsset : public AError {
  public:
    explicit ErrorAsset(const std::string& detail,
                        error_severity_e severity = error_severity_e::CRITICAL)
        : AError("Type: Asset\nMessage: ", detail, severity) {}
};

} // namespace Engine

#endif // ENGINE_ERRORS_ASSET_ERRORS_HPP_