{"record":{"id":"eacd570562e57de8","repo":"bevyengine/bevy","slug":"function-name-is-missing","errorCode":null,"errorMessage":"function name is missing","messagePattern":"function name is missing","errorType":"exception","errorClass":"FunctionRegistrationError","httpStatus":null,"severity":"error","filePath":"crates/bevy_reflect/src/func/error.rs","lineNumber":79,"sourceCode":"        \"argument signature `{:?}` has too many arguments (max {})\",\n        0,\n        ArgCount::MAX_COUNT\n    )]\n    TooManyArguments(ArgumentSignature),\n}\n\n/// An error that occurs when registering a function into a [`FunctionRegistry`].\n///\n/// [`FunctionRegistry`]: crate::func::FunctionRegistry\n#[derive(Debug, Error, PartialEq)]\npub enum FunctionRegistrationError {\n    /// A function with the given name has already been registered.\n    ///\n    /// Contains the duplicate function name.\n    #[error(\"a function has already been registered with name {0:?}\")]\n    DuplicateName(Cow<'static, str>),\n    /// The function is missing a name by which it can be registered.\n    #[error(\"function name is missing\")]\n    MissingName,\n}\n","sourceCodeStart":61,"sourceCodeEnd":82,"githubUrl":"https://github.com/bevyengine/bevy/blob/396ca727080776bd313bb892423b7d94e03b81b4/crates/bevy_reflect/src/func/error.rs#L61-L82","documentation":"FunctionRegistrationError::MissingName — the function being registered has no name (e.g. it was created without one), and the registry requires a name key. Provide a name via the registration API before inserting.","triggerScenarios":"Thrown at crates/bevy_reflect/src/func/error.rs:79 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Give the function a name before registering (e.g. with_name)"],"exampleFix":null,"handlingStrategy":"validation","validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"396ca727080776bd313bb892423b7d94e03b81b4","analyzedAt":"2026-08-20T16:12:39.808Z","contentChangedAt":"2026-08-20T16:12:39.808Z","schemaVersion":2},"datasetVersion":"2026-09-14T00:17:10.932Z"}