8 lines
No EOL
243 B
C++
8 lines
No EOL
243 B
C++
#pragma once
|
|
|
|
#include "error.h"
|
|
|
|
class LuaCastError : public Error {
|
|
public:
|
|
inline LuaCastError(std::string sourceType, std::string targetType) : Error("InstanceCastError", "Attempt to cast " + sourceType + " to " + targetType) {}
|
|
}; |