svg: improve lookup error handling
Store full Result<>s in the hash tables, this way we can return errors when the resources are used.
This what we discussed in the other MR.
Store full Result<>s in the hash tables, this way we can return errors when the resources are used.
This what we discussed in the other MR.