MCPcopy Create free account
hub / github.com/Botloader/botloader / not_found_error

Function not_found_error

components/runtime/src/extensions/discord.rs:418–420  ·  view source on GitHub ↗
(message: impl Into<Cow<'static, str>>)

Source from the content-addressed store, hash-verified

416const DISCORD_NOT_FOUND_CLASS_NAME: &str = "DiscordNotFoundError";
417
418pub fn not_found_error(message: impl Into<Cow<'static, str>>) -> AnyError {
419 custom_error(DISCORD_NOT_FOUND_CLASS_NAME, message)
420}
421
422#[op2(async)]
423#[serde]

Callers 3

error_from_codeFunction · 0.85
op_discord_get_roleFunction · 0.85
get_guild_channelFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected