OpenAssetTools/src/ZoneLoading/Loading/Exception/BlockOverflowException.cpp
2023-11-19 21:07:21 +00:00

17 lines
376 B
C++

#include "BlockOverflowException.h"
BlockOverflowException::BlockOverflowException(XBlock* block)
{
m_block = block;
}
std::string BlockOverflowException::DetailedMessage()
{
return "XBlock " + m_block->m_name + " overflowed while trying to load zone.";
}
char const* BlockOverflowException::what() const noexcept
{
return "Invalid Zone. XBlock overflowed.";
}