MCPcopy Create free account
hub / github.com/OpenLoco/OpenLoco / LoadException

Class LoadException

src/OpenLoco/src/S5/S5.cpp:446–462  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

444 }
445
446 class LoadException : public std::runtime_error
447 {
448 private:
449 StringId _localisedMessage;
450
451 public:
452 LoadException(const char* message, StringId localisedMessage)
453 : std::runtime_error(message)
454 , _localisedMessage(localisedMessage)
455 {
456 }
457
458 StringId getLocalisedMessage() const
459 {
460 return _localisedMessage;
461 }
462 };
463
464 // 0x00441FA7
465 bool importSaveToGameState(const fs::path& path, LoadFlags flags)

Callers 1

importSaveToGameStateFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected