Libmagicxx v9.0.2
A C++ wrapper library over the Magic Number Recognition Library.
Loading...
Searching...
No Matches
magic_exception.hpp File Reference
#include <format>
#include <stdexcept>
#include <string>
Include dependency graph for magic_exception.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  recognition::magic_exception
 The base class for all exceptions thrown by the magic class. More...
 
class  recognition::null_tracker
 Exception thrown when a shared progress_tracker is null. More...
 
class  recognition::empty_path
 Exception thrown when a path is empty. More...
 
class  recognition::path_is_not_regular_file
 Exception thrown from magic::load_database_file when the database file path is not a regular file. More...
 
class  recognition::path_is_not_directory
 Exception thrown from magic::identify_files(directory) when the path is not a directory. More...
 
class  recognition::path_does_not_exist
 Exception thrown when a path does not exist. More...
 
class  recognition::filesystem_error
 Exception thrown when the underlying std::filesystem OS API fails. More...
 
class  recognition::magic_is_closed
 Exception thrown when magic is closed. More...
 
class  recognition::magic_open_error
 Exception thrown when magic::open fails. More...
 
class  recognition::magic_load_database_file_error
 Exception thrown when magic::load_database_file fails. More...
 
class  recognition::magic_database_not_loaded
 Exception thrown when magic database is not loaded. More...
 
class  recognition::magic_identify_file_error
 Exception thrown when magic::identify_file(s) fails. More...
 
class  recognition::magic_set_flags_error
 Exception thrown when magic::set_flags fails. More...
 
class  recognition::magic_set_parameter_error
 Exception thrown when magic::set_parameter(s) fails. More...
 

Namespaces

namespace  recognition