Thrown when a file is smaller than expected. More...
#include <global_excepts.hpp>
Public Member Functions | |
| FileTooSmallException (std::string file_path, size_t file_sz, size_t min_file_sz) | |
Public Member Functions inherited from arion_exception::ArionException | |
| ArionException (std::string msg) | |
| const char * | what () const noexcept override |
Thrown when a file is smaller than expected.
|
inlineexplicit |
Builder for FileTooSmallException instances.
| [in] | file_path | Path of the file with invalid size. |
| [in] | file_sz | Current size of the file. |
| [in] | min_file_sz | Minimum size the file should be. |