#pragma once
#include <cstdint>
#include <string>
namespace lbug {
namespace common {
struct ExceptionMessage {
static std::string duplicatePKException(const std::string& pkString);
static std::string nonExistentPKException(const std::string& pkString);
static std::string invalidPKType(const std::string& type);
static std::string nullPKException();
static std::string overLargeStringPKValueException(uint64_t length);
static std::string overLargeStringValueException(uint64_t length);
static std::string violateDeleteNodeWithConnectedEdgesConstraint(const std::string& tableName,
const std::string& offset, const std::string& direction);
static std::string violateRelMultiplicityConstraint(const std::string& tableName,
const std::string& offset, const std::string& direction);
static std::string variableNotInScope(const std::string& varName);
static std::string listFunctionIncompatibleChildrenType(const std::string& functionName,
const std::string& leftType, const std::string& rightType);
static std::string invalidSkipLimitParam(const std::string& exprName,
const std::string& skipOrLimit);
};
} }