Skip to main content
Glama
data-converter.cpp460 B
class DataConverter { public: void ThrowDataConversionError(sqlite3_context* invocation, bool isBigInt) { if (isBigInt) { ThrowRangeError((GetDataErrorPrefix() + " a bigint that was too big").c_str()); } else { ThrowTypeError((GetDataErrorPrefix() + " an invalid value").c_str()); } PropagateJSError(invocation); } protected: virtual void PropagateJSError(sqlite3_context* invocation) = 0; virtual std::string GetDataErrorPrefix() = 0; };

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Mnehmos/mnehmos.synch.mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server