RealTimeTransport 1.0.0
Real-time simulation of quantum transport processes
Loading...
Searching...
No Matches
RealTimeTransport::Error Class Reference

#include <RealTimeTransport/Error.h>

This class represents a generic error.

Public Member Functions

 Error () noexcept
 Default constructor.
 
 Error (const std::string &message, std::source_location location=std::source_location::current())
 Constructs an error with a given message.
 
 Error (Error &&other) noexcept
 Move constructor.
 
Erroroperator= (Error &&other) noexcept
 Move assignment operator.
 
const char * what () const noexcept override
 Returns the error message.