110 const char *
what() const noexcept
override {
Definition: exception.hpp:99
int errorNumber() const noexcept
Definition: exception.hpp:118
ErrorNumber errorNumberEnum() const noexcept
Definition: exception.hpp:114
int error_number_
Definition: exception.hpp:124
std::string message_
Definition: exception.hpp:125
ErrorNumber error_number_enum_
Definition: exception.hpp:123
BoosterSeatException(const std::string &message, ErrorNumber error_number=ErrorNumber::UNSPECIFIED)
Definition: exception.hpp:101
const char * what() const noexcept override
Definition: exception.hpp:110
~BoosterSeatException()=default
Definition: filesystem.cpp:34
ErrorNumber
Definition: exception.hpp:10
@ FS_NO_WRITE_PERMISSIONS
Throw if write permissions are required but do not exist.
@ PROCESS_TIMEOUT
Part of bst::Process, thrown if the process times out.
@ UNSPECIFIED
Default value, just for backwards compatibility. Should not be used in new code.
@ NOT_YET_IMPLEMENTED
Throws if a feature is not yet implemented.
@ PROCESS_NOT_COMPLETE
Part of bst::Process, thrown if the process is not yet complete yet a method is called that requires ...
@ FS_NO_READ_PERMISSIONS
Throw if read permissions are required but do not exist.
@ FS_PATH_NOT_REGULAR_FILE
Path is not a regular file. Includes path in message.
@ TIME_INVALID_TIME
Invalid time.
@ GEO_INVALID_LATITUDE
Latitude is out of range/invalid.
@ FS_PATH_ALREADY_EXISTS
Path already exists when it should not. Includes path in message.
@ FS_PATH_DOES_NOT_EXIST
Path does not exist when it should. Includes path in message.
@ FS_PATH_NOT_DIRECTORY
Path is not a directory. Includes path in message.
@ FS_INVALID_SIZE_UNIT
Thrown if an invalid size unit is used.
@ FS_FILE_NOT_VALID
File is not valid. Includes if/ofstream error code in message.
@ TIME_INVALID_TIMEZONE
Thrown if an invalid time zone is used.
@ GEO_INVALID_LONGITUDE
Longitude is out of range/invalid.