SPARK  0.1.0
A general purpose game engine written in C++.
Loading...
Searching...
No Matches
spark::base::details::Exception Class Reference

The base class for all exceptions in Spark. Should be used as a base class only. More...

#include <Exception.h>

Inheritance diagram for spark::base::details::Exception:
spark::base::ArgumentOutOfRangeException spark::base::BadArgumentException spark::base::BadWindowInitializationException spark::base::CommandBufferAlreadyRecordingException spark::base::CouldNotCreateShaderException spark::base::CouldNotObtainFileLockException spark::base::CouldNotOpenFileException spark::base::DuplicatedApplicationException spark::base::FileIOException spark::base::InvalidDescriptorTypeException spark::base::NotImplementedException spark::base::NullPointerException spark::base::OverflowException spark::base::RenderPassAlreadyStartedException spark::base::RenderPassNotStartedException spark::base::TypeMismatchException spark::base::UninitializedSocketException spark::base::UnknownException spark::base::UnsupportedFileFormatException spark::base::WrongSerializerMode

Public Member Functions

 Exception (const char *class_name, const std::string_view &message, const std::source_location &source_location)
 
 Exception (const Exception &other)=default
 
 Exception (Exception &&other) noexcept=default
 
Exceptionoperator= (const Exception &other)=default
 
Exceptionoperator= (Exception &&other) noexcept=default
 

Static Protected Member Functions

static std::string FormatMessage (const char *class_name, const std::string_view &message, const std::source_location &source_location)
 

Detailed Description

The base class for all exceptions in Spark. Should be used as a base class only.