{"record":{"id":"7b02a06fabe0ed4c","repo":"filamentphp/filament","slug":"action-of-class-actionclass-must-have-a-unique","errorCode":null,"errorMessage":"Action of class [$actionClass] must have a unique name, passed to the [make()] method.","messagePattern":"Action of class \\[\\$actionClass\\] must have a unique name, passed to the \\[make\\(\\)\\] method\\.","errorType":"exception","errorClass":"LogicException","httpStatus":null,"severity":"error","filePath":"packages/actions/src/Concerns/HasName.php","lineNumber":23,"sourceCode":"use LogicException;\n\ntrait HasName\n{\n    protected ?string $name = null;\n\n    public function name(?string $name): static\n    {\n        $this->name = $name;\n\n        return $this;\n    }\n\n    public function getName(): ?string\n    {\n        if (blank($this->name)) {\n            $actionClass = static::class;\n\n            throw new LogicException(\"Action of class [$actionClass] must have a unique name, passed to the [make()] method.\");\n        }\n\n        return $this->name;\n    }\n}\n","sourceCodeStart":5,"sourceCodeEnd":29,"githubUrl":"https://github.com/filamentphp/filament/blob/53483fa9340e4ec637985fe454ebb58afb92ea24/packages/actions/src/Concerns/HasName.php#L5-L29","documentation":"Error \"Action of class [$actionClass] must have a unique name, passed to the [make()] method.\" thrown in filamentphp/filament.","triggerScenarios":"Thrown at packages/actions/src/Concerns/HasName.php:23 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":[],"exampleFix":null,"handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"53483fa9340e4ec637985fe454ebb58afb92ea24","analyzedAt":"2026-08-17T02:06:23.049Z","schemaVersion":2},"datasetVersion":"2026-08-17T04:17:16.089Z"}