issues
search
arapelle
/
arba-rsce
MIT License
0
stars
0
forks
source link
Resource managers get_shared() may throw exceptions.
#14
Closed
arapelle
closed
1 year ago
arapelle
commented
1 year ago
code:
[x] resource_store
throws exception in bad cases (file not found, load returned nullptr, ...).
[x] RM::get_shared
(path) may throw exception.
[x] RM::get_shared
(path, std::nothrow) catch runtime_errors and return nullptr in this case.
unit tests:
[x] resource_store
throws exception in bad cases (file not found, load returned nullptr, ...).
[x] RM::get_shared
(path) may throw exception.
[x] RM::get_shared
(path, std::nothrow) catch runtime_errors and return nullptr in this case.
code:
unit tests: