LocateUri: migrate from class Error to C++ exceptions
This commit is contained in:
@@ -70,8 +70,11 @@ public:
|
||||
|
||||
DetachedSong *LoadSong(const LocatedUri &uri) const;
|
||||
|
||||
/**
|
||||
* Throws #std::runtime_error on error.
|
||||
*/
|
||||
gcc_nonnull_all
|
||||
DetachedSong *LoadSong(const char *uri_utf8, Error &error) const;
|
||||
DetachedSong *LoadSong(const char *uri_utf8) const;
|
||||
|
||||
private:
|
||||
gcc_nonnull_all
|
||||
|
Reference in New Issue
Block a user