| 138 | } |
| 139 | |
| 140 | SpawnType SpawnTypeDatabase::spawnType(String const& typeName) const { |
| 141 | if (auto spawnType = m_spawnTypes.maybe(typeName)) |
| 142 | return spawnType.take(); |
| 143 | throw SpawnTypeDatabaseException::format("No such spawnType '{}'", typeName); |
| 144 | } |
| 145 | |
| 146 | } |
no test coverage detected