41 class PT_API
IOError :
public std::ios::failure
46 explicit IOError(
const std::string& what);
84 std::string _resource;
89 #endif // PT_IOERROR_H
Core module.
Definition: Allocator.h:33
AccessFailed(const std::string &resource)
Construct with resource string.
~AccessFailed()
Destructor.
Definition: IOError.h:75
IOError(const std::string &what)
Construct with error message.
AccessFailed(const char *resource)
Construct with resource string.
I/O error.
Definition: IOError.h:42
Failed to access a resource.
Definition: IOError.h:63
~IOError()
Destructor.
Definition: IOError.h:54
IOError(const char *what)
Construct with error message.
const std::string & resource() const
Returns the ID of the inaccessible resource.
Definition: IOError.h:80