{"record":{"id":"ed8e351749f25d62","repo":"flippercloud/flipper","slug":"the-banner-class-provided-value-is-not-one-of","errorCode":null,"errorMessage":"The banner_class provided '#{value}' is not one of: danger, dark, info, light, primary, secondary, success, warning","messagePattern":"The banner_class provided '#(.+?)' is not one of: danger, dark, info, light, primary, secondary, success, warning","errorType":"exception","errorClass":"Flipper::UI::InvalidConfigurationValue","httpStatus":null,"severity":"error","filePath":"lib/flipper/ui/configuration.rb","lineNumber":156,"sourceCode":"      def using_descriptions?\n        @descriptions_source != DEFAULT_DESCRIPTIONS_SOURCE\n      end\n\n      def show_feature_description_in_list?\n        using_descriptions? && @show_feature_description_in_list\n      end\n\n      def disable_fully_enable_message\n        if @disable_fully_enable.is_a?(String)\n          @disable_fully_enable\n        else\n          DEFAULT_DISABLE_FULLY_ENABLE_MESSAGE\n        end\n      end\n\n      def banner_class=(value)\n        unless VALID_BANNER_CLASS_VALUES.include?(value)\n          raise InvalidConfigurationValue, \"The banner_class provided '#{value}' is \" \\\n            \"not one of: #{VALID_BANNER_CLASS_VALUES.join(', ')}\"\n        end\n        @banner_class = value\n      end\n    end\n  end\nend\n","sourceCodeStart":138,"sourceCodeEnd":164,"githubUrl":"https://github.com/flippercloud/flipper/blob/1f86de3ec91521585b156445e156642938b19cb0/lib/flipper/ui/configuration.rb#L138-L164","documentation":"Error \"The banner_class provided '#{value}' is not one of: danger, dark, info, light, primary, secondary, success, warning\" thrown in flippercloud/flipper.","triggerScenarios":"Thrown at lib/flipper/ui/configuration.rb:156 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Use one of the allowed banner classes: danger, dark, info, light, primary, secondary, success, warning","Fix the typo in the Flipper::UI banner_class configuration","Remove the custom class or extend the allowed list deliberately if you need a custom style"],"exampleFix":null,"handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"1f86de3ec91521585b156445e156642938b19cb0","analyzedAt":"2026-08-23T04:36:09.896Z","schemaVersion":2},"datasetVersion":"2026-08-23T08:06:27.607Z"}