I don't like that it throws a string if it doesn't find a resource location. I'd prefer to use somthing similar to Rust's std::Result<std::String, Box<dyn std::error::Error>> but I'm unable to figure out how enums work in c++. Please take a look at it.
bumped version from 0.0.1 to 0.0.2
meson can now build the demo aswell. (meson _build -DTARGET_DEMO=true -DTARGET_LIB=false).
Since c++17 does not allows dynamic exception specifications, I think it is OK to throw a string if the file path is not found, although I don't like it also.
I don't like that it throws a string if it doesn't find a resource location. I'd prefer to use somthing similar to Rust's
std::Result<std::String, Box<dyn std::error::Error>>
but I'm unable to figure out how enums work in c++. Please take a look at it.bumped version from 0.0.1 to 0.0.2
meson can now build the demo aswell. (
meson _build -DTARGET_DEMO=true -DTARGET_LIB=false
).Should close #38