Zivid  1.0.1+3607.8a7510c4
Zivid API
Classes | Functions
Exception.h File Reference

Zivid exceptions More...

#include "APIExport.h"
#include <string>
#include <exception>

Go to the source code of this file.

Classes

class  Zivid::Exception
 A common base class for all Zivid exceptions. More...
 
class  Zivid::ArgumentException
 An exception that is thrown when an argument provided to a method is invalid. More...
 
class  Zivid::IOException
 An exception that is thrown whenever an I/O error occurs. More...
 
class  Zivid::LogicException
 An exception that is thrown when attempting to do an operation that doesn't make sense in the current execution context. More...
 
class  Zivid::RuntimeException
 An exception that is thrown when an unpredictable event caused an operation to fail. More...
 

Functions

ZIVID_COMMON std::string Zivid::toString (const std::exception &exception)
 Get string representation of the exception More...
 

Detailed Description

Zivid exceptions

Function Documentation

◆ toString()

ZIVID_COMMON std::string Zivid::toString ( const std::exception &  exception)

Get string representation of the exception

Returns
The exceptions as a string, potential nested exceptions are included as well